Browse Source

Remove dummy testing code

gingerBill 6 years ago
parent
commit
4205f0f0b1
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/check_expr.cpp

+ 0 - 7
src/check_expr.cpp

@@ -1647,13 +1647,6 @@ void check_comparison(CheckerContext *c, Operand *x, Operand *y, TokenKind op) {
 						}
 						}
 					}
 					}
 				} else {
 				} else {
-					if (is_type_integer(x->type)) {
-						i64 i = exact_value_to_i64(x->value);
-						if (i == 0) {
-							auto bi = x->value.value_integer;
-							gb_printf_err("%s %d %lld\n", expr_to_string(x->expr), bi.len, bi.d.word);
-						}
-					}
 					x->value = exact_value_bool(compare_exact_values(op, x->value, y->value));
 					x->value = exact_value_bool(compare_exact_values(op, x->value, y->value));
 				}
 				}
 			} else {
 			} else {