Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v239-14
/
.
/
coccinelle
/
safe_close-no-if.cocci
blob: 81c56785181946a4d36bd47b2bdb1b95c341c52d [
file
] [
log
] [
blame
] [
raw
]
@@
expression fd
;
@@
-
if
(
fd
>=
0
)
{
-
fd
=
safe_close
(
fd
);
-
}
+
fd
=
safe_close
(
fd
);