summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index c51e9ed1f64..02b75b4410f 100644
--- a/parse.y
+++ b/parse.y
@@ -4905,6 +4905,8 @@ cond0(node)
else {
rb_warning("literal in condition");
}
+ default:
+ break;
}
return node;
}