From 00d0bef7140ae35c915206345bfe75ee5baf1203 Mon Sep 17 00:00:00 2001 From: shyouhei Date: Fri, 19 Jan 2018 05:18:18 +0000 Subject: there is no such thing like 0 in enum defined_type introduce new enum for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index c3afd6c121..04a32556f2 100644 --- a/compile.c +++ b/compile.c @@ -4113,7 +4113,7 @@ static int defined_expr0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, LABEL **lfinish, VALUE needstr) { - enum defined_type expr_type = 0; + enum defined_type expr_type = DEFINED_NOT_DEFINED; enum node_type type; switch (type = nd_type(node)) { -- cgit v1.2.3