]> git.vpit.fr Git - perl/modules/indirect.git/commitdiff
Silence an "unused return value" warning
authorVincent Pit <vince@profvince.com>
Thu, 12 Feb 2009 20:53:26 +0000 (21:53 +0100)
committerVincent Pit <vince@profvince.com>
Thu, 12 Feb 2009 20:53:26 +0000 (21:53 +0100)
indirect.xs

index 3ddbfb63224a6726f77ad6e6659ce13d57ef25c0..b5e0675448331df025ad1a0c67db04dc3f6f0ceb 100644 (file)
@@ -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) {