Skip to content

Commit

Permalink
Allow |= not give a warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rocky Bernstein committed May 31, 2014
1 parent ce6a24d commit e11c98f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Devel/Trepan/DB/Sub.pm
Expand Up @@ -246,6 +246,7 @@ sub DB::sub {
if ($DB::sub eq 'DESTROY' or
substr($DB::sub, -9) eq '::DESTROY' or not defined wantarray) {
&$DB::sub;
no warnings 'uninitialized';
$DB::single |= pop(@stack);
$DB::ret = undef;
}
Expand Down

0 comments on commit e11c98f

Please sign in to comment.