Sign in
third-party-mirror
/
systemd
/
2398d87694e8af48e92ff8fb5f9cf273f706fb00
/
.
/
coccinelle
/
empty-to-null.cocci
blob: bc6c656e798a22cfde36457facb9c85042740f64 [
file
] [
log
] [
blame
]
@@
/* 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
)