diff --git a/src/rpc/virnetclient.c b/src/rpc/virnetclient.c index 44638e2bda5a9b65a6b51c4125827b58aec00fda..75509682beaaa3044c2196e7869b78048828dd25 100644 --- a/src/rpc/virnetclient.c +++ b/src/rpc/virnetclient.c @@ -430,6 +430,7 @@ virNetClientPtr virNetClientNewLibSSH2(const char *host, VIR_FREE(privkey); /* DSA */ if (!privkey) { + /* coverity[dead_error_begin] */ virBufferAsprintf(&buf, "%s/.ssh/id_dsa", homedir); if (!(privkey = virBufferContentAndReset(&buf))) goto no_memory;