mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
compiler/tasking: fix unreachable code on tasking toolchain
ctc W544: ["serial/serial.c" 284/3] unreachable code ctc W544: ["vfs/fs_lseek.c" 96/13] unreachable code ctc W544: ["wqueue/kwork_thread.c" 210/32] unreachable code ctc W544: ["stdio/lib_fopen.c" 327/19] unreachable code ctc W544: ["stdio/lib_fopen.c" 404/13] unreachable code ctc W544: ["string/lib_strcasestr.c" 120/3] unreachable code ctc W544: ["unistd/lib_getopt_common.c" 156/21] unreachable code ctc W544: ["unistd/lib_getopt_common.c" 216/21] unreachable code ctc W544: ["wctype/lib_iswctype.c" 155/3] unreachable code Signed-off-by: chao an <anchao@lixiang.com>
This commit is contained in:
@@ -153,7 +153,6 @@ static int getopt_long_option(FAR struct getopt_s *go,
|
||||
|
||||
default:
|
||||
goto errout;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -213,7 +212,6 @@ static int getopt_long_option(FAR struct getopt_s *go,
|
||||
|
||||
default:
|
||||
goto errout;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user