From: Anton Maklakov Date: Fri, 7 Sep 2018 08:13:26 +0000 (+0800) Subject: vfs: fix a fallthrough comment to silence the warning X-Git-Tag: v3.2-beta1~124^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ccbe51770207b6ffdc643080fc8109aaf7e76f20;p=esp-idf vfs: fix a fallthrough comment to silence the warning --- diff --git a/components/vfs/vfs_uart.c b/components/vfs/vfs_uart.c index e407de4757..7a1fb59143 100644 --- a/components/vfs/vfs_uart.c +++ b/components/vfs/vfs_uart.c @@ -443,7 +443,9 @@ static int uart_tcsetattr(int fd, int optional_actions, const struct termios *p) errno = EINVAL; return -1; } - // intentional fall-through to the next case + + /* FALLTHRU */ + case TCSAFLUSH: if (uart_flush_input(fd) != ESP_OK) { errno = EINVAL;