]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
checkSpace: remove the nosplabel test.
authorNick Mathewson <nickm@torproject.org>
Tue, 17 Dec 2019 18:58:01 +0000 (13:58 -0500)
committerNick Mathewson <nickm@torproject.org>
Thu, 6 Feb 2020 19:33:05 +0000 (14:33 -0500)
scripts/maint/checkSpace.pl
scripts/maint/checkspace_tests/expected.txt

index f4e6f733c8ac019f9ca25d71ad327317b3bda64d..96a256968a696fcc18718aa0dd1d3409709203f2 100755 (executable)
@@ -58,9 +58,9 @@ for my $fn (@ARGV) {
         }
         ## Warn about labels that don't have a space in front of them
         #    (We indent every label at least one space)
-        if (/^[a-zA-Z_][a-zA-Z_0-9]*:/) {
-            msg "nosplabel:$fn:$.\n";
-        }
+        #if (/^[a-zA-Z_][a-zA-Z_0-9]*:/) {
+        #    msg "nosplabel:$fn:$.\n";
+        #}
         ## Warn about trailing whitespace.
         #    (We don't allow whitespace at the end of the line; make your
         #    editor highlight it for you so you can stop adding it in.)
index 935b750ef94447d9ea3a2f9ba6c7134324d2155a..38595ed3739172018c65c0ce37e65e98eb644de7 100644 (file)
@@ -5,7 +5,6 @@
    tp fn():./dubious.c:15
       Wide:./dubious.c:17
        TAB:./dubious.c:24
- nosplabel:./dubious.c:26
         CR:./dubious.c:30
  Space@EOL:./dubious.c:32
  non-K&R {:./dubious.c:39