summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y5
1 files changed, 0 insertions, 5 deletions
diff --git a/parse.y b/parse.y
index fa90c97ba9c..c2f5cf04fcc 100644
--- a/parse.y
+++ b/parse.y
@@ -8887,11 +8887,6 @@ value_expr_gen(struct parser_params *parser, NODE *node)
}
while (node) {
switch (nd_type(node)) {
- case NODE_DEFN:
- case NODE_DEFS:
- parser_warning(node, "void value expression");
- return FALSE;
-
case NODE_RETURN:
case NODE_BREAK:
case NODE_NEXT: