Warning fix. Since HePV's second argument is supposed
Rafael Garcia-Suarez [Thu, 8 Mar 2007 16:12:29 +0000 (16:12 +0000)]
to be an unsigned integer, there's not point in comparing
it to 0.

p4raw-id: //depot/perl@30519

hv.h

diff --git a/hv.h b/hv.h
index 555c6f0..2e1a506 100644 (file)
--- 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) ?            \