summaryrefslogtreecommitdiff
path: root/gcc/cp/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/expr.c')
-rw-r--r--gcc/cp/expr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/expr.c b/gcc/cp/expr.c
index a7b823fa347..1f38649d3f0 100644
--- a/gcc/cp/expr.c
+++ b/gcc/cp/expr.c
@@ -456,5 +456,6 @@ do_case (start, end)
cp_error ("case label `%E' within scope of cleanup or variable array", start);
}
}
- define_case_label ();
+
+ current_function_return_value = NULL_TREE;
}