Commit 52aba8a7 authored by Malizia R's avatar Malizia R

Avoid Error when Compiling with -std=c99 flag

parent b8479b62
......@@ -429,6 +429,8 @@ to_sym(mrb_state *mrb, mrb_value ss)
else {
mrb_value obj = mrb_funcall(mrb, ss, "inspect", 0);
mrb_raisef(mrb, E_TYPE_ERROR, "%S is not a symbol", obj);
/* not reached */
return 0;
}
}
......
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