summaryrefslogtreecommitdiff
path: root/coccinelle/empty-to-null.cocci
blob: fbc75b9c343ca49688435e34e9cef32c35d81ff5 (plain)
1
2
3
4
5
@@
expression s;
@@
- isempty(s) ? NULL : s
+ empty_to_null(s)