From 277aaeeebf6288ccf20dc41171aee81611c2e909 Mon Sep 17 00:00:00 2001 From: John Ferlan Date: Fri, 15 Feb 2013 09:31:24 -0500 Subject: [PATCH] vircommand: Remove unnecessary sa_assert Changes from commit '3178df9a' removed the need for the sa_assert(infd). --- src/util/vircommand.c | 3 --- 1 file changed, 3 deletions(-) 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) { -- 2.39.5