In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/7c522378939a6dbc8153d4af24954dc0f7909aeb?hp=98ca8b423e7ba2fdcb24c91d0a5b0b529b6a04b9>
- Log ----------------------------------------------------------------- commit 7c522378939a6dbc8153d4af24954dc0f7909aeb Author: Craig A. Berry <[email protected]> Date: Sat Mar 2 20:07:51 2013 -0600 Add return statements where missing in doio.c IPC functions. These are code paths not seen on platforms that have msg* and shm* functions, and of course we're croaking before returning so returning is pointless, but the VMS C compiler insists that we have return statments for non-void functions anyway, and that compiler now sees these functions since enabling sem*. ----------------------------------------------------------------------- Summary of changes: doio.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/doio.c b/doio.c index 795d138..4e8d48a 100644 --- a/doio.c +++ b/doio.c @@ -2155,6 +2155,7 @@ Perl_do_msgsnd(pTHX_ SV **mark, SV **sp) PERL_UNUSED_ARG(mark); /* diag_listed_as: msg%s not implemented */ Perl_croak(aTHX_ "msgsnd not implemented"); + return -1; #endif } @@ -2197,6 +2198,7 @@ Perl_do_msgrcv(pTHX_ SV **mark, SV **sp) PERL_UNUSED_ARG(mark); /* diag_listed_as: msg%s not implemented */ Perl_croak(aTHX_ "msgrcv not implemented"); + return -1; #endif } @@ -2313,6 +2315,7 @@ Perl_do_shmio(pTHX_ I32 optype, SV **mark, SV **sp) #else /* diag_listed_as: shm%s not implemented */ Perl_croak(aTHX_ "shm I/O not implemented"); + return -1; #endif } -- Perl5 Master Repository
