diff --git a/variable.c b/variable.c index ee298a0311..82dd217968 100644 --- a/variable.c +++ b/variable.c @@ -2140,7 +2140,7 @@ void rb_const_set(VALUE klass, ID id, VALUE val) { rb_const_entry_t *ce; - rb_const_flag_t visibility = CONST_PUBLIC + rb_const_flag_t visibility = CONST_PUBLIC; if (NIL_P(klass)) { rb_raise(rb_eTypeError, "no class/module to define constant %"PRIsVALUE"",