Permalink
Browse files

Avoid Error when Compiling with -std=c99 flag

  • Loading branch information...
rmalizia44 committed Feb 24, 2016
1 parent b8479b6 commit 52aba8a70623391ed7996c2023aed776f6ca4541
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/class.c
View
@@ -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;
}
}

0 comments on commit 52aba8a

Please sign in to comment.