From: John Ferlan Date: Fri, 15 Feb 2013 14:31:24 +0000 (-0500) Subject: vircommand: Remove unnecessary sa_assert X-Git-Tag: v1.0.3-rc1~98 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=277aaeeebf6288ccf20dc41171aee81611c2e909;p=thirdparty%2Flibvirt.git vircommand: Remove unnecessary sa_assert Changes from commit '3178df9a' removed the need for the sa_assert(infd). --- diff --git a/src/util/vircommand.c b/src/util/vircommand.c index ee1b510e00..f672101f22 100644 --- a/src/util/vircommand.c +++ b/src/util/vircommand.c @@ -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) {