summaryrefslogtreecommitdiff
path: root/coccinelle/empty-or-dash.cocci
blob: bebaead2ffe2248a2b441c67e118085047e50292 (plain)
1
2
3
4
5
@@
expression s;
@@
- (isempty(s) || streq(s, "-"))
+ empty_or_dash(s)