OpenZFS 6999 - fix 'Use of uninitialized value $picky in numeric eq (==)' in cstyle
Authored by: Richard PALO <richard@NetBSD.org> Reviewed by: Garrett D'Amore <garrett@damore.org> Approved by: Robert Mustacchi <rm@joyent.com> Reviewed-by: George Melikov <mail@gmelikov.ru> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Ported-by: Giuseppe Di Natale <dinatale2@llnl.gov> OpenZFS-issue: https://www.illumos.org/issues/6999 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/002ec3e Closes #5653
This commit is contained in:
parent
2014c09f64
commit
d4e0040781
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue