]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/empty-to-null.cocci
test: Disable LUKS devices from initramfs in QEMU tests
[thirdparty/systemd.git] / coccinelle / empty-to-null.cocci
CommitLineData
a8ea93a5 1@@
60d9959d
FS
2/* Avoid running this transformation on the empty_to_null function itself */
3position p : script:python() { p[0].current_element != "empty_to_null" };
a8ea93a5
LP
4expression s;
5@@
60d9959d
FS
6
7- isempty@p(s) ? NULL : s
a8ea93a5 8+ empty_to_null(s)