1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-28 11:21:59 +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)