syslog/channel: minor fix to avoid unreachabled return
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
8308f32863
commit
40f63453f4
|
@ -175,9 +175,9 @@ static int syslog_default_putc(FAR struct syslog_channel_s *channel, int ch)
|
|||
|
||||
#if defined(CONFIG_ARCH_LOWPUTC)
|
||||
return up_putc(ch);
|
||||
#endif
|
||||
|
||||
#else
|
||||
return ch;
|
||||
#endif
|
||||
}
|
||||
|
||||
static ssize_t syslog_default_write(FAR struct syslog_channel_s *channel,
|
||||
|
|
Loading…
Reference in New Issue