]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/equals-null.cocci
nspawn: rework how /run/host/ is set up
[thirdparty/systemd.git] / coccinelle / equals-null.cocci
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