1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-27 03:21:32 +03:00
systemd-stable/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)