mirror of
https://github.com/curl/curl.git
synced 2026-07-28 19:23:06 +03:00
checksrc: detect "}else" uses as well
This commit is contained in:
parent
450975b0c3
commit
58a7c51362
1 changed files with 1 additions and 1 deletions
|
|
@ -145,7 +145,7 @@ sub scanfile {
|
|||
}
|
||||
|
||||
# check for "} else"
|
||||
if($l =~ /^(.*)\} else/) {
|
||||
if($l =~ /^(.*)\} *else/) {
|
||||
checkwarn($line, length($1), $file, $l, "else after closing brace on same line");
|
||||
}
|
||||
# check for "){"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue