From 1aa9c49172caedb57568c3d2f563981e5b558b0d Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 26 Apr 2021 19:17:25 +0100 Subject: [PATCH] Remove warning for "Redundant 'auto_cast' applied to expression" --- src/check_expr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/check_expr.cpp b/src/check_expr.cpp index 2c83565a4..6c4a78e53 100644 --- a/src/check_expr.cpp +++ b/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"); } }