summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-03-26 00:21:30 +0000
committerNicholas Clark <nick@ccl4.org>2005-03-26 00:21:30 +0000
commit3c8a6f8651424ba778d5280d96c18e950c4efb74 (patch)
treeb13518170163458b3f3e49c59bfd9d9aaebcde19 /op.c
parentdd374669df59cc2457708a01ea0f6d332912530b (diff)
downloadperl-3c8a6f8651424ba778d5280d96c18e950c4efb74.tar.gz
Need to return something when the compiler doesn't know that a
function is "noreturn". p4raw-id: //depot/perl@24082
Diffstat (limited to 'op.c')
-rw-r--r--op.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/op.c b/op.c
index edf300cdf9..8107a84c7e 100644
--- a/op.c
+++ b/op.c
@@ -4845,6 +4845,11 @@ Perl_oopsCV(pTHX_ OP *o)
Perl_croak(aTHX_ "NOT IMPL LINE %d",__LINE__);
/* STUB */
(void)o;
+#ifndef HASATTRIBUTE
+ /* No __attribute__, so the compiler doesn't know that croak never returns
+ */
+ return 0;
+#endif
}
OP *