Fix annoying warnings. W doesn't have a revision number

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10736 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-01-09 18:39:04 +00:00
parent b3da2fd16f
commit be39e43d33

View File

@ -281,8 +281,8 @@ foreach $File (@CVSHistory) {
my ($Type, $Date, $UID, $Rev, $Filename); my ($Type, $Date, $UID, $Rev, $Filename);
if ($File =~ /([AMRUGC]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+) +([^ ]+)/) { if ($File =~ /([AMRUGC]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+) +([^ ]+)/) {
($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5"); ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5");
} elsif ($File =~ /([W]) ($DateRE) ([^ ]+) +([^ ]+) +([^ ]+)/) { } elsif ($File =~ /([W]) ($DateRE) ([^ ]+) +([^ ]+)/) {
($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, $4, "$6/$5"); ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, "", "$5/$4");
} elsif ($File =~ /([O]) ($DateRE) ([^ ]+) +([^ ]+)/) { } elsif ($File =~ /([O]) ($DateRE) ([^ ]+) +([^ ]+)/) {
($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, "", "$4/"); ($Type, $Date, $UID, $Rev, $Filename) = ($1, $2, $3, "", "$4/");
} else { } else {