1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00
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)