diff --git a/tools/build/checkstyle9.pl b/tools/build/checkstyle9.pl index 3b28fef93669..8b30baa10fc9 100755 --- a/tools/build/checkstyle9.pl +++ b/tools/build/checkstyle9.pl @@ -2546,7 +2546,7 @@ sub process { $herectx .= raw_line($linenr, $n) . "\n";; } - ERROR("braces {} are necessary even for single statement blocks\n" . $herectx); + WARN("braces {} are encouraged even for single statement blocks\n" . $herectx); } }