]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/empty-if.cocci
tree-wide: drop {} from one-line if blocks
[thirdparty/systemd.git] / coccinelle / empty-if.cocci
1 @@
2 expression e, f;
3 statement s, t;
4 @@
5 (
6 if (e) {
7 if (f) s
8 }
9 |
10 if (e) {
11 if (f) s
12 else t
13 }
14 |
15 - if (e) {
16 + if (e)
17 s
18 - }
19 )