]> git.proxmox.com Git - mirror_frr.git/blame - tools/coccinelle/bool_expression.cocci
Merge pull request #8593 from idryzhov/cmd-ambiguous
[mirror_frr.git] / tools / coccinelle / bool_expression.cocci
CommitLineData
17811249
DA
1@@
2bool t;
3@@
4
5(
6- t == true
7+ t
8|
9- true == t
10+ t
11|
12- t != true
13+ !t
14|
15- true != t
16+ !t
17|
18- t == false
19+ !t
20|
21- false == t
22+ !t
23|
24- t != false
25+ t
26|
27- false != t
28+ t
29)