CID
1465101 (#1 of 1): Unchecked return value (CHECKED_RETURN)
9. check_return: Calling close without checking return value (as is done
elsewhere 177 out of 185 times).
CID
1465100 (#1 of 1): Unchecked return value (CHECKED_RETURN)
4. check_return: Calling close without checking return value (as is done
elsewhere 177 out of 185 times)
CID
1465099 (#1 of 1): Unchecked return value (CHECKED_RETURN) 4.
check_return: Calling close without checking return value (as is done
elsewhere 177 out of 185 times).
CID
1465098 (#1 of 1): Unchecked return value (CHECKED_RETURN) 4.
check_return: Calling close without checking return value (as is done
elsewhere 177 out of 185 times).
CID
1465097 (#1 of 1): Unchecked return value (CHECKED_RETURN) 4.
check_return: Calling close without checking return value (as is done
elsewhere 177 out of 185 times).
Reported-by: Coverity Scan
Signed-off-by: Francis Deslauriers <francis.deslauriers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
Change-Id: I8e2552c75ab7cec5aa3707e2c1c4d9f2484b501a
}
error:
- close(epollfd);
+ ret = close(epollfd);
+ if (ret) {
+ perror("close");
+ }
end:
return;
}
}
error:
- close(epollfd);
+ ret = close(epollfd);
+ if (ret) {
+ perror("close");
+ }
end:
return;
}
}
error:
- close(epollfd);
+ ret = close(epollfd);
+ if (ret) {
+ perror("close");
+ }
end:
return;
}
}
error:
- close(epollfd);
+ ret = close(epollfd);
+ if (ret) {
+ perror("close");
+ }
end:
return;
}
}
error:
- close(epollfd);
+ ret = close(epollfd);
+ if (ret) {
+ perror("close");
+ }
end:
return;
}