initialize sname before interning

This commit is contained in:
Yukihiro "Matz" Matsumoto
2014-02-25 10:43:16 +09:00
parent b201dbeb3d
commit ebd976be84
+1 -1
View File
@@ -97,7 +97,7 @@ mrb_value
mrb_check_intern(mrb_state *mrb, const char *name, size_t len)
{
khash_t(n2s) *h = mrb->name2sym;
symbol_name sname;
symbol_name sname = { 0 };
khiter_t k;
if (len > UINT16_MAX) {