summaryrefslogtreecommitdiffstats
path: root/coccinelle/bool-cast.cocci
blob: 051ccb941751509fe053ac26b0e48a8db96aca78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@@
bool b;
expression y;
@@
- b = !!(y);
+ b = y;
@@
bool b;
expression y;
@@
- b = !!y;
+ b = y;