Sign in
googlers
/
jrn
/
git
/
6a53a59bf9986f99c1a8dd0f36e2b9d6033e89f2
/
.
/
contrib
/
coccinelle
/
xstrdup_or_null.cocci
blob: 8e05d1ca4b61b9792a6f7cc4e7d322efeab02e01 [
file
] [
log
] [
blame
]
@@
expression E
;
expression V
;
@@
-
if
(
E
)
-
V
=
xstrdup
(
E
);
+
V
=
xstrdup_or_null
(
E
);
@@
expression E
;
@@
-
xstrdup
(
absolute_path
(
E
))
+
absolute_pathdup
(
E
)