projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Extras: Change TYPE of braces around single statement
[lttng-tools.git]
/
extras
/
checkpatch.pl
diff --git
a/extras/checkpatch.pl
b/extras/checkpatch.pl
index 4d2c7dfdaabd44abd21e53072eee8f8f884890e8..7b2d29b0b6695a648fefe40b71fd8c5c267f3bc0 100755
(executable)
--- a/
extras/checkpatch.pl
+++ b/
extras/checkpatch.pl
@@
-3198,7
+3198,7
@@
sub process {
$herectx .= raw_line($linenr, $n) . "\n";
}
- WARN("BRACES",
+ WARN("BRACES
_SINGLE_STMT
",
"braces {} are not necessary for single statement blocks\n" . $herectx);
}
}
This page took
0.032259 seconds
and
4
git commands to generate.