]> git.vpit.fr Git - perl/modules/Variable-Magic.git/commitdiff
Hide the 'too many sigs' test from coverage
authorVincent Pit <vince@profvince.com>
Sun, 1 Mar 2009 18:16:23 +0000 (19:16 +0100)
committerVincent Pit <vince@profvince.com>
Sun, 1 Mar 2009 18:16:23 +0000 (19:16 +0100)
Magic.xs

index 1c25a9bc7dca6e47ff61a090fff406ee0de13367..814a6af19004a662f7e2906ebfaecf5d4af3c9cb 100644 (file)
--- 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;