Avoid Error when Compiling with -std=c99 flag

This commit is contained in:
Malizia R
2016-02-24 16:39:38 -03:00
parent b8479b62d8
commit 52aba8a706
+2
View File
@@ -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;
}
}