mirror of
https://github.com/apache/nuttx.git
synced 2026-06-01 07:45:16 +08:00
Fix -Werror=implicit-fallthrough on gcc7
This commit is contained in:
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user