1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-23 07:31:31 +00:00

Revert "checkstyle9.pl: Add check for missing space between ) {"

This reverts commit 6bad7d2486.

Turns out this special case wasn't necessary, and this was already
detected and due to another error (running the script got dropped
from my experimental scripts), I hadn't noticed.

Sponsored by:		Netflix
This commit is contained in:
Warner Losh 2024-05-29 11:15:24 -06:00
parent 304ac69eca
commit b661d9e64d

View File

@ -1556,11 +1556,6 @@ sub process {
}
}
# Check for ){
if ($rawline =~ /^.*\)\{\n/) {
ERROR("Missing space before brace\n". $herecurr);
}
# check for spaces before a quoted newline
if ($rawline =~ /^.*\".*\s\\n/) {
ERROR("unnecessary whitespace before a quoted newline\n" . $herecurr);