Commit 0c23d5a3 authored by Yukihiro "Matz" Matsumoto's avatar Yukihiro "Matz" Matsumoto

Merge pull request #3120 from rmalizia44/patch-1

Avoid Error when Compiling with -std=c99 flag
parents b8479b62 52aba8a7
......@@ -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