mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +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:
@@ -92,7 +92,7 @@ FAR char *strcasestr(FAR const char *str, FAR const char *substr)
|
||||
* substring.
|
||||
*/
|
||||
|
||||
return NULL;
|
||||
break;
|
||||
}
|
||||
|
||||
/* Check if this is the beginning of a matching substring
|
||||
|
||||
Reference in New Issue
Block a user