ignore unchecked return value

ignore CID 27729 found by Coverity
This commit is contained in:
Christian Beer 2015-10-28 11:11:55 +01:00
parent b031fff422
commit 88351bcbdc
1 changed files with 1 additions and 0 deletions

View File

@ -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;