summaryrefslogtreecommitdiff
path: root/gv.c
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-21 07:54:47 +0000
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2007-09-21 07:54:47 +0000
commit04fe65b0c880322a5ab5677fef6303b6149b8676 (patch)
treee6b7468efe5ca179a39da26a21b3da5942aa7ce8 /gv.c
parent166cd87e025da3b73833dbe6f3ac8a9279710d12 (diff)
downloadperl-04fe65b0c880322a5ab5677fef6303b6149b8676.tar.gz
Silence a load of "value computed is not used" warnings
p4raw-id: //depot/perl@31936
Diffstat (limited to 'gv.c')
-rw-r--r--gv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gv.c b/gv.c
index 3b7dfd3863..4c6b12a9a1 100644
--- a/gv.c
+++ b/gv.c
@@ -1470,7 +1470,7 @@ Perl_gp_free(pTHX_ GV *gv)
if (gp->gp_hv && SvTYPE(gp->gp_hv) == SVt_PVHV) {
const char *hvname = HvNAME_get(gp->gp_hv);
if (PL_stashcache && hvname)
- hv_delete(PL_stashcache, hvname, HvNAMELEN_get(gp->gp_hv),
+ (void)hv_delete(PL_stashcache, hvname, HvNAMELEN_get(gp->gp_hv),
G_DISCARD);
SvREFCNT_dec(gp->gp_hv);
}