diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-13 11:00:00 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-13 11:00:00 +0000 |
commit | d16e9ed98812a2e69b435f9514ff8e38e7ff38ad (patch) | |
tree | 58c1cd515c48b1fa1b48ece65752e7faf372e944 /pp_hot.c | |
parent | 386d01d60781c452398a2c213e241a4169059c2c (diff) | |
download | perl-d16e9ed98812a2e69b435f9514ff8e38e7ff38ad.tar.gz |
avoid compiler warnings
p4raw-id: //depot/perl@5701
Diffstat (limited to 'pp_hot.c')
-rw-r--r-- | pp_hot.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -653,7 +653,7 @@ S_do_maybe_phash(pTHX_ AV *ary, SV **lelem, SV **firstlelem, SV **relem, sv_setsv(tmpstr,relem[1]); /* value */ relem[1] = tmpstr; if (avhv_store_ent(ary,relem[0],tmpstr,0)) - SvREFCNT_inc(tmpstr); + (void)SvREFCNT_inc(tmpstr); if (SvMAGICAL(ary) != 0 && SvSMAGICAL(tmpstr)) mg_set(tmpstr); relem += 2; @@ -687,7 +687,7 @@ S_do_oddball(pTHX_ HV *hash, SV **relem, SV **firstrelem) /* pseudohash */ tmpstr = sv_newmortal(); if (avhv_store_ent((AV*)hash,*relem,tmpstr,0)) - SvREFCNT_inc(tmpstr); + (void)SvREFCNT_inc(tmpstr); if (SvMAGICAL(hash) && SvSMAGICAL(tmpstr)) mg_set(tmpstr); } |