summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2016-12-05 12:47:42 +0000
committerDavid Mitchell <davem@iabyn.com>2016-12-05 12:47:42 +0000
commit62d9081044ad53db012f71dbc7a968127804d169 (patch)
tree75714c117028e409d1b4b10a2b2feb2c3f297c28 /op.c
parente9b8343fa465fe1f17441bfe1c1349ea013e9288 (diff)
downloadperl-62d9081044ad53db012f71dbc7a968127804d169.tar.gz
add some /* NOTREACHED */
The previous commit added some NOT_REACHED; but these days the correct voodoo is, apparently, NOT_REACHED; /* NOTREACHED */ to please as many compilers and static analysers as possible
Diffstat (limited to 'op.c')
-rw-r--r--op.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/op.c b/op.c
index b3b7009d04..f8df8b4ef6 100644
--- a/op.c
+++ b/op.c
@@ -10360,13 +10360,13 @@ Perl_ck_defined(pTHX_ OP *o) /* 19990527 MJD */
case OP_PADAV:
Perl_croak(aTHX_ "Can't use 'defined(@array)'"
" (Maybe you should just omit the defined()?)");
- NOT_REACHED;
+ NOT_REACHED; /* NOTREACHED */
break;
case OP_RV2HV:
case OP_PADHV:
Perl_croak(aTHX_ "Can't use 'defined(%%hash)'"
" (Maybe you should just omit the defined()?)");
- NOT_REACHED;
+ NOT_REACHED; /* NOTREACHED */
break;
default:
/* no warning */
@@ -14461,7 +14461,7 @@ Perl_rpeep(pTHX_ OP *o)
oldop = ourlast;
o = oldop->op_next;
goto redo;
- NOT_REACHED;
+ NOT_REACHED; /* NOTREACHED */
break;
}