]> git.ipfire.org Git - thirdparty/libvirt.git/commit
virfirewalld: Drop useless memset() in virFirewallDApplyRule()
authorMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Aug 2023 08:30:12 +0000 (10:30 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Thu, 3 Aug 2023 14:35:58 +0000 (16:35 +0200)
commitea5352334af4ce9151e826db7a0dc3f02a211b6c
tree0eccd2fb1470863925ec297bc2f9f54840dd9fd7
parent258fc73cf051419d19947059a98f1d6a2d1d4910
virfirewalld: Drop useless memset() in virFirewallDApplyRule()

This is a residue of v6.8.0-rc1~100. The error variable inside of
virFirewallDApplyRule() is already initialized to NULL. There's
no need to memset() it to zero again.

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