From 04fe65b0c880322a5ab5677fef6303b6149b8676 Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 21 Sep 2007 07:54:47 +0000 Subject: Silence a load of "value computed is not used" warnings p4raw-id: //depot/perl@31936 --- gv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gv.c') 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); } -- cgit v1.2.1