diff options
author | David Mitchell <davem@iabyn.com> | 2010-09-12 12:27:19 +0100 |
---|---|---|
committer | David Mitchell <davem@iabyn.com> | 2010-09-12 12:27:19 +0100 |
commit | 790427a55372311797954fb3140cd3e0a4ae6d28 (patch) | |
tree | 0ee3a2acd8a9694acb549dc38bdff540b7d31b14 /op.c | |
parent | b24b84ef00c067346532edb01a22dd2ed39c7852 (diff) | |
download | perl-790427a55372311797954fb3140cd3e0a4ae6d28.tar.gz |
fix a couple of -Dmad compiler warnings
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -8136,10 +8136,12 @@ Perl_ck_shift(pTHX_ OP *o) argop = newUNOP(OP_RV2AV, 0, scalar(newGVOP(OP_GV, 0, PL_argvgv))); #ifdef PERL_MAD - OP * const oldo = o; - o = newUNOP(type, 0, scalar(argop)); - op_getmad(oldo,o,'O'); - return o; + { + OP * const oldo = o; + o = newUNOP(type, 0, scalar(argop)); + op_getmad(oldo,o,'O'); + return o; + } #else op_free(o); return newUNOP(type, 0, scalar(argop)); |