summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2002-09-08 16:22:57 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2002-09-08 16:22:57 +0000
commitaf78d9d54558011143ac16f8c59a59db27e91628 (patch)
tree7b71c805f3d85775f5f0f93f600f7e6bc439f86c /bin
parent0ee30088f2e6e46a8c855f51b437bede57b6df8d (diff)
downloadATCD-af78d9d54558011143ac16f8c59a59db27e91628.tar.gz
Removed unnecessary variable and variable check.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/fuzz.pl19
1 files changed, 8 insertions, 11 deletions
diff --git a/bin/fuzz.pl b/bin/fuzz.pl
index 9c8abb298dd..b0796179a47 100755
--- a/bin/fuzz.pl
+++ b/bin/fuzz.pl
@@ -818,7 +818,6 @@ sub check_for_changelog_errors ()
foreach $file (@files_changelog) {
my $line = 0;
if (open (FILE, $file)) {
- my $disable = 0;
my $found_backslash = 0;
my $found_cvs_conflict = 0;
@@ -829,16 +828,14 @@ sub check_for_changelog_errors ()
next if m/^\s*\/\//;
next if m/^\s*$/;
- if ($disable == 0) {
- # Check for backslashes in paths.
- if (m/\*.*\\[^ ]*:/) {
- print_error ("Backslashes in file path - $file ($line)");
- }
+ # Check for backslashes in paths.
+ if (m/\*.*\\[^ ]*:/) {
+ print_error ("Backslashes in file path - $file ($line)");
+ }
- # Check for CVS conflict tags
- if (m/^<<<<</ || m/^=====/ || m/^>>>>>/) {
- print_error ("CVS conflict markers in $file ($line)");
- }
+ # Check for CVS conflict tags
+ if (m/^<<<<</ || m/^=====/ || m/^>>>>>/) {
+ print_error ("CVS conflict markers in $file ($line)");
}
}
close (FILE);
@@ -900,7 +897,7 @@ check_for_absolute_ace_wrappers () if ($opt_l >= 3);
check_for_bad_ace_trace () if ($opt_l >= 4);
check_for_missing_rir_env () if ($opt_l >= 5);
check_for_ace_check () if ($opt_l >= 3);
-check_for_changelog_errors () if ($opt_l >= 1);
+check_for_changelog_errors () if ($opt_l >= 4);
print "\nFuzz.pl - $errors error(s), $warnings warning(s)\n";