chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
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);