From: Vincent Pit Date: Thu, 12 Feb 2009 20:53:26 +0000 (+0100) Subject: Silence an "unused return value" warning X-Git-Tag: v0.12~18 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=24819cd3b0b220a2d05ae0346e3c745c45261b31;p=perl%2Fmodules%2Findirect.git Silence an "unused return value" warning --- diff --git a/indirect.xs b/indirect.xs index 3ddbfb6..b5e0675 100644 --- a/indirect.xs +++ b/indirect.xs @@ -140,7 +140,7 @@ STATIC void indirect_map_delete(pTHX_ const OP *o) { #define indirect_map_delete(O) indirect_map_delete(aTHX_ (O)) OP2STR_BUF; - hv_delete(indirect_map, buf, OP2STR(o), G_DISCARD); + (void)hv_delete(indirect_map, buf, OP2STR(o), G_DISCARD); } STATIC void indirect_map_clean_kids(pTHX_ const OP *o) {