]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/empty-to-null.cocci
logind: when we cannot attach a passed fd to a device, close it
[thirdparty/systemd.git] / coccinelle / empty-to-null.cocci
CommitLineData
a8ea93a5
LP
1@@
2expression s;
3@@
4- isempty(s) ? NULL : s
5+ empty_to_null(s)