Skip to content

Commit

Permalink
Avoid Error when Compiling with -std=c99 flag
Browse files Browse the repository at this point in the history
  • Loading branch information
rmalizia44 committed Feb 24, 2016
1 parent b8479b6 commit 52aba8a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/class.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 52aba8a

Please sign in to comment.