Skip to content

Commit

Permalink
Item14368: Use of shift is ambiguous without parenthesis.
Browse files Browse the repository at this point in the history
Fails on perl 5.8.9.
  • Loading branch information
gac410 committed May 23, 2017
1 parent 91f82fd commit 78f56bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RCSStoreContrib/lib/Foswiki/Store/Rcs/RcsLiteHandler.pm
Expand Up @@ -715,7 +715,7 @@ sub _patch {
local $SIG{__WARN__} = sub {
print STDERR
"WARNING: Potentially corrupt RCS history $this->{file} at revision $rev: "
. shift . "\n";
. shift(@_) . "\n";
};

my $adj = 0;
Expand Down

0 comments on commit 78f56bd

Please sign in to comment.