mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 09:17:52 +03:00
rpc: Revert Coverity tag message
Turns out the fix for VIR_FREE made this particular Coverity tag unnecessary, so I'm removing it.
This commit is contained in:
parent
73cdac3f72
commit
dd36cc3f97
@ -430,7 +430,6 @@ virNetClientPtr virNetClientNewLibSSH2(const char *host,
|
|||||||
VIR_FREE(privkey);
|
VIR_FREE(privkey);
|
||||||
/* DSA */
|
/* DSA */
|
||||||
if (!privkey) {
|
if (!privkey) {
|
||||||
/* coverity[dead_error_begin] */
|
|
||||||
virBufferAsprintf(&buf, "%s/.ssh/id_dsa", homedir);
|
virBufferAsprintf(&buf, "%s/.ssh/id_dsa", homedir);
|
||||||
if (!(privkey = virBufferContentAndReset(&buf)))
|
if (!(privkey = virBufferContentAndReset(&buf)))
|
||||||
goto no_memory;
|
goto no_memory;
|
||||||
|
Loading…
Reference in New Issue
Block a user