]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix the build on non-linux platforms after VIR_AUTOPTR related changes
authorErik Skultety <eskultet@redhat.com>
Tue, 7 Aug 2018 16:40:11 +0000 (18:40 +0200)
committerErik Skultety <eskultet@redhat.com>
Wed, 8 Aug 2018 08:07:10 +0000 (10:07 +0200)
commite63aa3c6648213f5b3ecd974c5365ad61403adfe
treeb6ba5b641c5df01b391b8cdece16de4404d971e6
parentcc4d44ab31ffb2500cf52081e87b137385ec76e6
Fix the build on non-linux platforms after VIR_AUTOPTR related changes

Commits 7b706f33ac and 4acb7887e4 introduced some compound type *Free
wrappers in order to use them with VIR_DEFINE_AUTOPTR_FUNC. However,
since those were not used in the code right away, Clang complained about
unused functions (static ones that are defined by the macro above).
This patch puts the defined functions in use.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/util/virnetdev.c
src/util/virnetlink.c