[PATCH 7/7] Remove use of variables passed only to 'VIR_FREE'

Ján Tomko jtomko at redhat.com
Thu Jun 11 10:36:25 UTC 2020


On a Thursday in 2020, Peter Krempa wrote:
>Compilers are not very good at detecting this problem. Fixed by manual
>inspection of compilation warnings after replacing 'VIR_FREE' with an
>empty macro.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/locking/sanlock_helper.c              | 2 --
> src/logging/log_daemon.c                  | 2 --
> src/nwfilter/nwfilter_ebiptables_driver.c | 2 --
> src/openvz/openvz_driver.c                | 2 --
> src/security/security_selinux.c           | 2 --
> src/test/test_driver.c                    | 2 --
> src/util/virstorageencryption.c           | 4 ----
> src/util/virsysinfo.c                     | 2 --
> src/vmware/vmware_conf.c                  | 4 ----
> src/vmware/vmware_driver.c                | 4 ----
> tests/networkxml2firewalltest.c           | 2 --
> tests/xmconfigtest.c                      | 2 --
> tools/virsh-checkpoint.c                  | 2 --
> 13 files changed, 32 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20200611/790a80fe/attachment-0001.sig>


More information about the libvir-list mailing list