]> git.vpit.fr Git - perl/modules/indirect.git/blobdiff - indirect.xs
Hide a very unlikely failure from coverage
[perl/modules/indirect.git] / indirect.xs
index 5a3dd986fdf4a4f401a67672c45a24ad2d3242ba..b7857c3a438c297db6ae2f360922c50cf45c395b 100644 (file)
@@ -66,8 +66,7 @@ STATIC void indirect_map_store(pTHX_ const OP *o, const char *src, SV *sv) {
  SvUVX(val) = PTR2UV(src);
  SvIOK_on(val);
  SvIsUV_on(val);
- if (!hv_store(indirect_map, buf, OP2STR(o), val, 0))
-  SvREFCNT_dec(val);
+ if (!hv_store(indirect_map, buf, OP2STR(o), val, 0)) SvREFCNT_dec(val);
 }
 
 STATIC const char *indirect_map_fetch(pTHX_ const OP *o, SV ** const name) {