[core] quiet coverity warnings
This commit is contained in:
parent
23fe1312e5
commit
434fab4929
|
@ -918,7 +918,7 @@ void chunkqueue_internal_pipes(int init) {
|
|||
if (-1 != cqpipes[0]) { close(cqpipes[0]); cqpipes[0] = -1; }
|
||||
if (-1 != cqpipes[1]) { close(cqpipes[1]); cqpipes[1] = -1; }
|
||||
if (init)
|
||||
fdevent_pipe_cloexec(cqpipes, 262144);
|
||||
if (0 != fdevent_pipe_cloexec(cqpipes, 262144)) { } /*(ignore error)*/
|
||||
}
|
||||
|
||||
__attribute_cold__
|
||||
|
|
|
@ -637,7 +637,7 @@ int fdevent_pipe_cloexec (int * const fds, const unsigned int bufsz_hint) {
|
|||
}
|
||||
#ifdef F_SETPIPE_SZ
|
||||
if (bufsz_hint > 65536)
|
||||
fcntl(fds[1], F_SETPIPE_SZ, bufsz_hint);
|
||||
if (0 != fcntl(fds[1], F_SETPIPE_SZ, bufsz_hint)) { } /*(ignore error)*/
|
||||
#endif
|
||||
return 0;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue