mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
variable.c (mrb_mod_cv_get): initialize local variable
To silence compiler warning.
This commit is contained in:
+1
-1
@@ -614,7 +614,7 @@ mrb_value
|
||||
mrb_mod_cv_get(mrb_state *mrb, struct RClass *c, mrb_sym sym)
|
||||
{
|
||||
struct RClass * cls = c;
|
||||
mrb_value v;
|
||||
mrb_value v = mrb_nil_value();
|
||||
mrb_bool given = FALSE;
|
||||
|
||||
while (c) {
|
||||
|
||||
Reference in New Issue
Block a user