1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

coccinelle: add coccinelle script for empty_or_dash() use

This commit is contained in:
Lennart Poettering 2019-04-08 14:31:15 +02:00
parent dc90e0faae
commit ca7410fe43

View File

@ -0,0 +1,5 @@
@@
expression s;
@@
- (isempty(s) || streq(s, "-"))
+ empty_or_dash(s)