summaryrefslogtreecommitdiff
path: root/scripts/maint
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2019-12-17 13:58:01 -0500
committerNick Mathewson <nickm@torproject.org>2020-02-06 14:33:05 -0500
commitf1d371bf32d33cee95df1b13daa43686f81d94ef (patch)
tree40e81b17527e8742c5a6b56df63530c6ad84dd89 /scripts/maint
parent573ab70bfe4c6239a3fffda89b1a95e4e7ca10aa (diff)
downloadtor-f1d371bf32d33cee95df1b13daa43686f81d94ef.tar.gz
tor-f1d371bf32d33cee95df1b13daa43686f81d94ef.zip
checkSpace: remove the nosplabel test.
Diffstat (limited to 'scripts/maint')
-rwxr-xr-xscripts/maint/checkSpace.pl6
-rw-r--r--scripts/maint/checkspace_tests/expected.txt1
2 files changed, 3 insertions, 4 deletions
diff --git a/scripts/maint/checkSpace.pl b/scripts/maint/checkSpace.pl
index f4e6f733c8..96a256968a 100755
--- a/scripts/maint/checkSpace.pl
+++ b/scripts/maint/checkSpace.pl
@@ -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.)
diff --git a/scripts/maint/checkspace_tests/expected.txt b/scripts/maint/checkspace_tests/expected.txt
index 935b750ef9..38595ed373 100644
--- a/scripts/maint/checkspace_tests/expected.txt
+++ b/scripts/maint/checkspace_tests/expected.txt
@@ -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