Skip to content

Commit

Permalink
Fix a warning about ambiguous shift usage
Browse files Browse the repository at this point in the history
[committer's note: newer perl's don't have this problem, but 5.8.8 at
least appears to require the parens]
  • Loading branch information
jwadamson authored and sitaramc committed Feb 24, 2013
1 parent a1aba93 commit bc041ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/triggers/post-compile/ssh-authkeys
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ sub fp_file {

sub fp_line {
my ( $fh, $fn ) = tempfile();
print $fh shift . "\n";
print $fh shift() . "\n";
close $fh;
my $fp = fp_file($fn);
unlink $fn;
Expand Down

0 comments on commit bc041ea

Please sign in to comment.