Default switch case exits directly; these instructions are never reached. The file was taken from Linux; the copies have diverged a lot since:
``` $ diff -u xen/xen/tools/kconfig/expr.c linux/scripts/kconfig/expr.c | wc -l 984 ``` Therefore the change is only applied locally. Coverity-ID: 1458052 Fixes: 8c271b7584 ("build: import Kbuild/Kconfig from Linux 4.3") Signed-off-by: Ariel Otilibili <ariel.otilibili-ani...@eurecom.fr> -- Cc: Doug Goldstein <car...@cardoe.com> --- xen/tools/kconfig/expr.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xen/tools/kconfig/expr.c b/xen/tools/kconfig/expr.c index 77ffff3a05..be1400cdaf 100644 --- a/xen/tools/kconfig/expr.c +++ b/xen/tools/kconfig/expr.c @@ -1125,8 +1125,6 @@ static int expr_compare_type(enum expr_type t1, enum expr_type t2) default: return -1; } - printf("[%dgt%d?]", t1, t2); - return 0; } void expr_print(struct expr *e, -- 2.47.1