ANSI C-ify the Perl_mro_isa_changed_in return mathoms.c
authorTony Cook <tony@develop-help.com>
Tue, 12 Oct 2010 23:12:35 +0000 (10:12 +1100)
committerTony Cook <tony@develop-help.com>
Tue, 12 Oct 2010 23:12:35 +0000 (10:12 +1100)
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.

mathoms.c

index 1477f12..2a56504 100644 (file)
--- a/mathoms.c
+++ b/mathoms.c
@@ -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 */