Fix -Werror=implicit-fallthrough on gcc7

This commit is contained in:
Julien Lecoeur
2017-06-28 16:06:06 +02:00
parent 4db21f4d7e
commit f26e83d0a1
6 changed files with 16 additions and 4 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ off_t file_seek(FAR struct file *filep, off_t offset, int whence)
{
case SEEK_CUR:
offset += filep->f_pos;
/* FALLTHROUGH */
case SEEK_SET:
if (offset >= 0)
{