]> git.ipfire.org Git - thirdparty/systemd.git/blob - coccinelle/strempty.cocci
test-string-util: add another test for stripping slashes
[thirdparty/systemd.git] / coccinelle / strempty.cocci
1 @@
2 expression s;
3 @@
4 - s ?: ""
5 + strempty(s)
6 @@
7 expression s;
8 @@
9 - s ? s : ""
10 + strempty(s)