]> xenbits.xensource.com Git - libvirt.git/commitdiff
rpc: Revert Coverity tag message
authorJohn Ferlan <jferlan@redhat.com>
Tue, 22 Jan 2013 22:09:27 +0000 (17:09 -0500)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 Jan 2013 14:02:06 +0000 (15:02 +0100)
Turns out the fix for VIR_FREE made this particular Coverity tag
unnecessary, so I'm removing it.

src/rpc/virnetclient.c

index 75509682beaaa3044c2196e7869b78048828dd25..44638e2bda5a9b65a6b51c4125827b58aec00fda 100644 (file)
@@ -430,7 +430,6 @@ 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;