extra: remove debugging output
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Nov 2012 13:24:13 +0000 (19 16:24 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Mon, 19 Nov 2012 18:47:47 +0000 (19 21:47 +0300)
This output is confusing and it's still pretty common to not know the
type of things.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
smatch_extra.c

index 2a315b9..f5eb0c7 100644 (file)
@@ -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);