mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-04 19:33:18 +00:00
Fixed perl warnings.
This commit is contained in:
parent
aec69cc2f4
commit
c484cf50dc
@ -53,6 +53,7 @@ $::TreeID = 'default'
|
||||
# get dir, remove leading and trailing slashes
|
||||
|
||||
my $dir = $::FORM{"dir"};
|
||||
$dir = "" unless defined $dir;
|
||||
$dir =~ s/^\/([^:]*)/$1/;
|
||||
$dir =~ s/([^:]*)\/$/$1/;
|
||||
|
||||
@ -79,7 +80,7 @@ validateRepository($CVS_ROOT);
|
||||
|
||||
my $s = "";
|
||||
|
||||
if( $rev ne "" ){
|
||||
if ($rev) {
|
||||
$s = "for branch <i>$rev</i>";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user