Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v245-rc2
/
.
/
coccinelle
/
empty-to-null.cocci
blob: bc6c656e798a22cfde36457facb9c85042740f64 [
file
] [
log
] [
blame
] [
raw
]
@@
/* Avoid running this transformation on the empty_to_null function itself */
position p
:
script
:
python
()
{
p
[
0
].
current_element
!=
"empty_to_null"
};
expression s
;
@@
-
isempty@p
(
s
)
?
NULL
:
s
+
empty_to_null
(
s
)