Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kconfig: remove unreachable printf()

Remove the unreachable code detected by clang.

$ make HOSTCC=clang HOSTCFLAGS=-Wunreachable-code defconfig
[ snip ]
scripts/kconfig/expr.c:1134:2: warning: code will never be executed [-Wunreachable-code]
printf("[%dgt%d?]", t1, t2);
^~~~~~
1 warning generated.

Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>

-1
-1
scripts/kconfig/expr.c
··· 1131 1131 default: 1132 1132 return -1; 1133 1133 } 1134 - printf("[%dgt%d?]", t1, t2); 1135 1134 return 0; 1136 1135 } 1137 1136