mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-24 14:45:24 +00:00
remote: remoteDispatchAuthList: remove useless 'rv'
Signed-off-by: Ján Tomko <jtomko@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
8487595bee
commit
3109f6d86c
@ -3590,10 +3590,9 @@ static int
|
||||
remoteDispatchAuthList(virNetServerPtr server,
|
||||
virNetServerClientPtr client,
|
||||
virNetMessagePtr msg G_GNUC_UNUSED,
|
||||
virNetMessageErrorPtr rerr,
|
||||
virNetMessageErrorPtr rerr G_GNUC_UNUSED,
|
||||
remote_auth_list_ret *ret)
|
||||
{
|
||||
int rv = -1;
|
||||
int auth = virNetServerClientGetAuth(client);
|
||||
uid_t callerUid;
|
||||
gid_t callerGid;
|
||||
@ -3636,11 +3635,7 @@ remoteDispatchAuthList(virNetServerPtr server,
|
||||
break;
|
||||
}
|
||||
|
||||
rv = 0;
|
||||
|
||||
if (rv < 0)
|
||||
virNetMessageSaveError(rerr);
|
||||
return rv;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user