]> git.ipfire.org Git - thirdparty/libvirt.git/commit
remote_driver: Drop explicit memset(&sargs) in remoteAuthSASL()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Aug 2023 07:39:03 +0000 (09:39 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Aug 2023 14:35:42 +0000 (16:35 +0200)
commit258fc73cf051419d19947059a98f1d6a2d1d4910
tree8de3678416645ba3e70c6c2362cc41c037ab1064
parent5aba19868732e86e610d84e11d8adcbd1046d5b9
remote_driver: Drop explicit memset(&sargs) in remoteAuthSASL()

Inside of remoteAuthSASL() the sargs variable is already
initialized to zero during declaration. There's no need to
memset() it again as it's unused in between it's declaration and
said memset().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Claudio Fontana <cfontana@suse.de>
src/remote/remote_driver.c