From: Vincent Pit Date: Sun, 1 Mar 2009 18:16:23 +0000 (+0100) Subject: Hide the 'too many sigs' test from coverage X-Git-Tag: v0.33~20 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=785666007a6d0c007dad6f97702d42c952519901;p=perl%2Fmodules%2FVariable-Magic.git Hide the 'too many sigs' test from coverage --- diff --git a/Magic.xs b/Magic.xs index 1c25a9b..814a6af 100644 --- a/Magic.xs +++ b/Magic.xs @@ -337,8 +337,7 @@ STATIC U16 vmg_gensig(pTHX) { char buf[8]; dMY_CXT; - if (HvKEYS(MY_CXT.wizards) >= SIG_NBR) - croak(vmg_toomanysigs); + if (HvKEYS(MY_CXT.wizards) >= SIG_NBR) croak(vmg_toomanysigs); do { sig = SIG_NBR * Drand01() + SIG_MIN;