Skip to content

Commit

Permalink
ANSI C-ify the Perl_mro_isa_changed_in return mathoms.c
Browse files Browse the repository at this point in the history
A return statement with an expression shall not appear in a
function whose return type is void.

See http://source.test-smoke.org/tsdb?mode=report&rid=86779&top=86781
for an example build failure.
  • Loading branch information
tonycoz committed Oct 12, 2010
1 parent b4a0206 commit 989690a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mathoms.c
Original file line number Diff line number Diff line change
Expand Up @@ -1558,7 +1558,7 @@ Perl_sv_2bool(pTHX_ register SV *const sv)
void
Perl_mro_isa_changed_in(pTHX_ HV* stash)
{
return mro_isa_changed_in3(stash, NULL, 0);
mro_isa_changed_in3(stash, NULL, 0);
}

#endif /* NO_MATHOMS */
Expand Down

0 comments on commit 989690a

Please sign in to comment.