From 989690ac118eb981de3afdd9b2e092362f453d31 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Wed, 13 Oct 2010 10:12:35 +1100 Subject: [PATCH] ANSI C-ify the Perl_mro_isa_changed_in return mathoms.c 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mathoms.c b/mathoms.c index 1477f12..2a56504 100644 --- 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 */ -- 2.7.4