diff --git a/scripts/cstyle.pl b/scripts/cstyle.pl index 7b0c9b7e78..f8dac9c2d9 100755 --- a/scripts/cstyle.pl +++ b/scripts/cstyle.pl @@ -440,7 +440,7 @@ line: while (<$filehandle>) { $function_header_full_indent = 0; } if ($in_function_header && /{$/ ) { - if ($picky == 1) { + if ($picky) { err("opening brace on same line as function header"); } $in_function_header = 0;