summaryrefslogtreecommitdiff
path: root/pad.c
diff options
context:
space:
mode:
authorDavid Mitchell <davem@iabyn.com>2015-02-24 12:12:21 +0000
committerDavid Mitchell <davem@iabyn.com>2015-02-24 12:12:21 +0000
commitb53eee5dcaba7597084a8dcdea596adfbc2b9544 (patch)
tree7487b71fef4b31e97e0f2a8fa7abb2069ffdfc76 /pad.c
parentc7e74775aeccc7506df4216c4a137b2c702187fc (diff)
downloadperl-b53eee5dcaba7597084a8dcdea596adfbc2b9544.tar.gz
silence some compiler warnings.
(Some compilers have strange ideas about the signedness of the bool type verses the signedness of a boolean expression like a == b).
Diffstat (limited to 'pad.c')
-rw-r--r--pad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pad.c b/pad.c
index aa63fded4b..057a5029c3 100644
--- a/pad.c
+++ b/pad.c
@@ -2126,7 +2126,7 @@ S_cv_clone_pad(pTHX_ CV *proto, CV *cv, CV *outside, HV *cloned,
S_cv_clone(aTHX_ (CV *)ppad[ix],
(CV *)PL_curpad[ix],
*cvp, cloned);
- hv_store(cloned, (char *)&ppad[ix],
+ (void)hv_store(cloned, (char *)&ppad[ix],
sizeof(CV *),
SvREFCNT_inc_simple_NN(PL_curpad[ix]),
0);