signed: remove some debug code
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 16 Dec 2012 15:02:49 +0000 (16 18:02 +0300)
committerDan Carpenter <dan.carpenter@oracle.com>
Sun, 16 Dec 2012 15:02:49 +0000 (16 18:02 +0300)
This was committed accidentally.  There are times where we can't know the
type.  That is expected.

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

index 154e70a..9b94d9d 100644 (file)
@@ -223,10 +223,6 @@ static void match_condition(struct expression *expr)
                return;
 
        type = get_type(expr);
-       if (!type) {
-               sm_msg("debug: could not get condition type");
-               return;
-       }
 
        /* screw it.  I am writing this to mark yoda code as buggy.
         * Valid comparisons between an unsigned and zero are: