initialize sname before interning

parent b201dbeb
......@@ -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) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment