systemd/coccinelle/empty-or-dash.cocci
2019-04-08 14:31:15 +02:00

6 lines
71 B
Plaintext

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