mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 19:32:19 +00:00
vircommand: Remove unnecessary sa_assert
Changes from commit '3178df9a' removed the need for the sa_assert(infd).
This commit is contained in:
parent
11a1181260
commit
277aaeeebf
@ -1899,9 +1899,6 @@ virCommandProcessIO(virCommandPtr cmd)
|
||||
fds[i].fd == cmd->inpipe) {
|
||||
int done;
|
||||
|
||||
/* Coverity 5.3.0 can't see that we only get here if
|
||||
* infd is in the set because it was non-negative. */
|
||||
sa_assert(infd != -1);
|
||||
done = write(cmd->inpipe, cmd->inbuf + inoff,
|
||||
inlen - inoff);
|
||||
if (done < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user