From ff5feceacdf05880b778489733d2703ef3d74614 Mon Sep 17 00:00:00 2001 From: Dan Carpenter Date: Mon, 19 Nov 2012 16:24:13 +0300 Subject: [PATCH] extra: remove debugging output This output is confusing and it's still pretty common to not know the type of things. Signed-off-by: Dan Carpenter --- smatch_extra.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/smatch_extra.c b/smatch_extra.c index 2a315b96..f5eb0c79 100644 --- a/smatch_extra.c +++ b/smatch_extra.c @@ -734,10 +734,8 @@ static void match_comparison(struct expression *expr) } type = get_type(expr); - if (!type) { - sm_msg("debug: failed to get type for '%s'", get_variable_from_expr_complex(expr, NULL)); + if (!type) type = &llong_ctype; - } if (get_implied_range_list(left, &left_orig)) { left_orig = cast_rl(type, left_orig); -- 2.11.4.GIT