]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Finally remove our EOL@EOF check.
authorNick Mathewson <nickm@torproject.org>
Mon, 18 Jun 2018 20:10:47 +0000 (16:10 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 18 Jun 2018 20:10:47 +0000 (16:10 -0400)
This check was added by mistake long ago.  It will be nice to see
these EOLs disappear from our code over time.

scripts/maint/checkSpace.pl

index 9929932cc51cd1692e498a44859494a0cefae59d..4f4ac9b0e5dbf4760594366c67c7381ea7469bb3 100755 (executable)
@@ -126,7 +126,7 @@ for my $fn (@ARGV) {
             ## Warn about double semi-colons at the end of a line.
             if (/;;$/) {
                 msg "       double semi-colons at the end of $. in $fn\n"
-            }            
+            }
             ## Warn about multiple internal spaces.
             #if (/[^\s,:]\s{2,}[^\s\\=]/) {
             #    msg "     X  X:$fn:$.\n";
@@ -192,11 +192,6 @@ for my $fn (@ARGV) {
             }
         }
     }
-    ## Warn if the file doesn't end with a blank line.
-    #    (End each file with a single blank line.)
-    if (! $lastnil) {
-        msg "  EOL\@EOF:$fn:$.\n";
-    }
     close(F);
 }