mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 15:40:44 +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:
parent
304ac69eca
commit
b661d9e64d
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue