]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/empty-to-null.cocci
Merge pull request #9200 from poettering/device-state-fix
[thirdparty/systemd.git] / coccinelle / empty-to-null.cocci
1 @@
2 expression s;
3 @@
4 - isempty(s) ? NULL : s
5 + empty_to_null(s)