From f211ab20157a840770567ea182b1372e339cd82a Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Thu, 5 Sep 2019 11:37:03 -0700 Subject: I forgot to add `break` in my case statements Give me a break. --- node.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'node.c') diff --git a/node.c b/node.c index d844473988..64e2d8f43d 100644 --- a/node.c +++ b/node.c @@ -1269,11 +1269,13 @@ mark_ast_value(void *ctx, NODE * node) { struct rb_ary_pattern_info *apinfo = node->nd_apinfo; rb_gc_mark(apinfo->imemo); + break; } case NODE_ARGS: { struct rb_args_info *args = node->nd_ainfo; rb_gc_mark(args->imemo); + break; } case NODE_LIT: case NODE_STR: -- cgit v1.2.1