]>
git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/equals-null.cocci
Commit | Line | Data |
234519ae LP |
1 | @@ |
2 | expression e; |
3 | statement s; |
4 | @@ |
5 | - if (e == NULL) |
6 | + if (!e) |
7 | s |
8 | @@ |
9 | expression e; |
10 | statement s; |
11 | @@ |
12 | - if (e != NULL) |
13 | + if (e) |
14 | s |