Skip to content

Commit

Permalink
C: remove another minor warning
Browse files Browse the repository at this point in the history
Argument "main::INC" is not numeric in numeric gt (>) at blib/lib/B/C.pm line 3625
  • Loading branch information
Reini Urban committed Oct 17, 2012
1 parent 3f30e44 commit de02c26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/B/C.pm
Original file line number Diff line number Diff line change
Expand Up @@ -3622,7 +3622,8 @@ if (0) {
elsif ( $fullname eq 'main::!' ) { #Errno
$savefields = Save_HV;
}
$savefields &= ~$filter if ($filter and $filter !~ / :pad/ and $filter > 0 and $filter < 64);
$savefields &= ~$filter if ($filter and $filter !~ / :pad/
and $filter =~ /^\d+$/ and $filter > 0 and $filter < 64);
# issue 79: Only save stashes for stashes.
# But not other values to avoid recursion into unneeded territory.
# We walk via savecv, not via stashes.
Expand Down

0 comments on commit de02c26

Please sign in to comment.