should initialize local variable prepended to false

This commit is contained in:
Yukihiro "Matz" Matsumoto
2015-09-23 03:26:40 +09:00
parent 6a06a3e48d
commit ad1087f5ed
+1 -1
View File
@@ -654,7 +654,7 @@ mrb_class_instance_method_list(mrb_state *mrb, mrb_bool recur, struct RClass* kl
{
khint_t i;
mrb_value ary;
mrb_bool prepended;
mrb_bool prepended = FALSE;
struct RClass* oldklass;
khash_t(st)* set = kh_init(st, mrb);