summaryrefslogtreecommitdiff
path: root/check-FIXME.pl
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2000-04-27 18:36:33 +0000
committerDarin Adler <darin@src.gnome.org>2000-04-27 18:36:33 +0000
commit4d2695b532d800090a81012409e49cc81673f4ef (patch)
treeed6973757c11bbfb4d2e58c8bdc942e89389701a /check-FIXME.pl
parent7540b533ed97cd9b8bbc3644e9cea4657cd7f2c0 (diff)
downloadnautilus-4d2695b532d800090a81012409e49cc81673f4ef.tar.gz
Fixed bug that happens when there are no outstanding FIXMEs (hooray!).
* check-FIXME.pl: Fixed bug that happens when there are no outstanding FIXMEs (hooray!). Added bug numbers to FIXMEs, writing bug reports as needed.
Diffstat (limited to 'check-FIXME.pl')
-rwxr-xr-xcheck-FIXME.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/check-FIXME.pl b/check-FIXME.pl
index 449e8f7ff..47ef26457 100755
--- a/check-FIXME.pl
+++ b/check-FIXME.pl
@@ -50,7 +50,7 @@ if (!@ARGV)
}
# locate all of the target lines
-my $no_bug_lines;
+my $no_bug_lines = "";
my %bug_lines;
foreach my $file (@ARGV)
{
@@ -74,7 +74,7 @@ foreach my $file (@ARGV)
}
# list the ones without bug numbers
-if ($no_bug_lines ne '')
+if ($no_bug_lines ne "")
{
my @no_bug_list = sort split /\n/, $no_bug_lines;
print "\n", scalar(@no_bug_list), " FIXMEs don't have bug reports:\n\n";