summaryrefslogtreecommitdiff
path: root/hv.h
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-08 16:12:29 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-03-08 16:12:29 +0000
commitb979de87f60b43f7673e6a7e8947db2dc281aed0 (patch)
treee14d74379c7ad0becd0d2eefc67bd6c9a730ef7a /hv.h
parent67261566773bc3c68100784bb02fb0dc880102ec (diff)
downloadperl-b979de87f60b43f7673e6a7e8947db2dc281aed0.tar.gz
Warning fix. Since HePV's second argument is supposed
to be an unsigned integer, there's not point in comparing it to 0. p4raw-id: //depot/perl@30519
Diffstat (limited to 'hv.h')
-rw-r--r--hv.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hv.h b/hv.h
index 555c6f0e11..2e1a506c8f 100644
--- a/hv.h
+++ b/hv.h
@@ -303,8 +303,7 @@ C<SV*>.
#define HeHASH(he) HEK_HASH(HeKEY_hek(he))
#define HePV(he,lp) ((HeKLEN(he) == HEf_SVKEY) ? \
SvPV(HeKEY_sv(he),lp) : \
- (((lp = HeKLEN(he)) >= 0) ? \
- HeKEY(he) : NULL))
+ ((lp = HeKLEN(he)) >= 0)) \
#define HeSVKEY(he) ((HeKEY(he) && \
HeKLEN(he) == HEf_SVKEY) ? \