Browse Source

Remove warning for "Redundant 'auto_cast' applied to expression"

gingerBill 4 years ago
parent
commit
1aa9c49172
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/check_expr.cpp

+ 1 - 1
src/check_expr.cpp

@@ -7269,7 +7269,7 @@ ExprKind check_expr_base_internal(CheckerContext *c, Operand *o, Ast *node, Type
 				if (build_context.vet) {
 					error(node, "Redundant 'auto_cast' applied to expression");
 				} else {
-					warning(node, "Redundant 'auto_cast' applied to expression");
+					// warning(node, "Redundant 'auto_cast' applied to expression");
 				}
 			}