chiark / gitweb /
sd-id128: make size constraints a bit more obvious
[elogind.git] / coccinelle / safe_close-no-if.cocci
1 @@
2 expression fd;
3 @@
4 - if (fd >= 0) {
5 - fd = safe_close(fd);
6 - }
7 + fd = safe_close(fd);