aboutsummaryrefslogtreecommitdiff
path: root/src/check_expr.cpp
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-04-26 19:17:25 +0100
committergingerBill <bill@gingerbill.org>2021-04-26 19:17:25 +0100
commit1aa9c49172caedb57568c3d2f563981e5b558b0d (patch)
treec944dd020e2bf4a8549223d3f14087706d17552f /src/check_expr.cpp
parent5a88fef483a49bd0c909b1286b2ea548d7e63fa8 (diff)
Remove warning for "Redundant 'auto_cast' applied to expression"
Diffstat (limited to 'src/check_expr.cpp')
-rw-r--r--src/check_expr.cpp2
1 files changed, 1 insertions, 1 deletions
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");
}
}