Systemd/coccinelle/empty-to-null.cocci

6 lines
63 B
Plaintext
Raw Normal View History

2017-12-07 12:13:00 +01:00
@@
expression s;
@@
- isempty(s) ? NULL : s
+ empty_to_null(s)