1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-01 17:51:22 +03:00
systemd/coccinelle/empty-to-null.cocci

6 lines
63 B
Plaintext
Raw Normal View History

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