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