]> granicus.if.org Git - esp-idf/commitdiff
vfs: fix a fallthrough comment to silence the warning
authorAnton Maklakov <anton@espressif.com>
Fri, 7 Sep 2018 08:13:26 +0000 (16:13 +0800)
committerAnton Maklakov <anton@espressif.com>
Thu, 20 Sep 2018 10:53:15 +0000 (18:53 +0800)
components/vfs/vfs_uart.c

index e407de4757defc5c8bdf1aab2ebafe864db04934..7a1fb591432eb944937060996eb888c0f3cc32c1 100644 (file)
@@ -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;