mirror of https://github.com/BOINC/boinc.git
ignore unchecked return value
ignore CID 27729 found by Coverity
This commit is contained in:
parent
b031fff422
commit
88351bcbdc
|
@ -232,6 +232,7 @@ int mylockf(int fd) {
|
|||
|
||||
// if lock failed, find out why
|
||||
errno=0;
|
||||
// coverity[check_return]
|
||||
fcntl(fd, F_GETLK, &fl);
|
||||
if (fl.l_pid>0) return fl.l_pid;
|
||||
return -1;
|
||||
|
|
Loading…
Reference in New Issue