summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorAndy Lester <andy@petdance.com>2016-12-02 22:07:26 -0500
committerDavid Mitchell <davem@iabyn.com>2016-12-05 12:37:06 +0000
commite9b8343fa465fe1f17441bfe1c1349ea013e9288 (patch)
tree9a86dd13acd31780cb26e4a36c97babdf581e6ae /op.c
parent1eb7a0dec318d22fee300bd4348df9d7c80e2a2a (diff)
downloadperl-e9b8343fa465fe1f17441bfe1c1349ea013e9288.tar.gz
Clean up warnings uncovered by 'clang -Weverything'.
For: RT #130195
Diffstat (limited to 'op.c')
-rw-r--r--op.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/op.c b/op.c
index 3cd7ea282f..b3b7009d04 100644
--- a/op.c
+++ b/op.c
@@ -10360,11 +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()?)");
- break;
+ NOT_REACHED;
+ break;
case OP_RV2HV:
case OP_PADHV:
Perl_croak(aTHX_ "Can't use 'defined(%%hash)'"
" (Maybe you should just omit the defined()?)");
+ NOT_REACHED;
break;
default:
/* no warning */
@@ -14459,7 +14461,7 @@ Perl_rpeep(pTHX_ OP *o)
oldop = ourlast;
o = oldop->op_next;
goto redo;
-
+ NOT_REACHED;
break;
}