diff options
author | Warner Losh <imp@FreeBSD.org> | 2024-05-29 17:15:24 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2024-05-29 17:18:00 +0000 |
commit | b661d9e64d73a244873fb2aa6c97e95a988fb758 (patch) | |
tree | 65a91f702baf91bbc38a46264338588f3685e266 | |
parent | 304ac69eca623d63510aa61853adc1ea60593323 (diff) |
Revert "checkstyle9.pl: Add check for missing space between ) {"
This reverts commit 6bad7d2486b373015db5917d7a9641266861c607.
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
-rwxr-xr-x | tools/build/checkstyle9.pl | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/build/checkstyle9.pl b/tools/build/checkstyle9.pl index 7c2b2c0f5b5b..24e33712ceda 100755 --- a/tools/build/checkstyle9.pl +++ b/tools/build/checkstyle9.pl @@ -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); |