Rivoreo Source Code Repositories
src.rivoreo.one
/
systemd-stable
/
v242-rc4
/
.
/
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
);