]> git.ipfire.org Git - thirdparty/libvirt.git/commit
rpc: Add coverity[dead_error_begin] tag
authorJohn Ferlan <jferlan@redhat.com>
Tue, 22 Jan 2013 14:41:00 +0000 (09:41 -0500)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 22 Jan 2013 15:59:45 +0000 (16:59 +0100)
commit28cd3dc40bf34061c5c89510ae2d2b91c49e9eab
tree5bb62148007d84048de437aa1fa209d8bee017d0
parent8b55992f4e6135f36f929a027f93889416625625
rpc: Add coverity[dead_error_begin] tag

Coverity misses the nuance of VIR_FREE(privkey) setting privkey = NULL when
if (!(virFileExists(privkey))) is true and thus declares the code dead.
src/rpc/virnetclient.c