]> git.ipfire.org Git - thirdparty/systemd.git/blame - coccinelle/empty-or-root.cocci
travis: use UBSan checks from OSS-Fuzz
[thirdparty/systemd.git] / coccinelle / empty-or-root.cocci
CommitLineData
57ea45e1
LP
1@@
2expression s;
3@@
4- (isempty(s) || path_equal(s, "/"))
5+ empty_or_root(s)
6@@
7expression s;
8@@
9- (!isempty(s) && !path_equal(s, "/"))
10+ !empty_or_root(s)