Re: [libvirt] [PATCH 2/2] Fix the build on non-linux platforms after VIR_AUTOPTR related changes

2018-08-08 Thread Erik Skultety
On Wed, Aug 08, 2018 at 09:16:20AM +0200, Ján Tomko wrote: > On Wed, Aug 08, 2018 at 08:23:42AM +0200, Erik Skultety wrote: > > 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

Re: [libvirt] [PATCH 2/2] Fix the build on non-linux platforms after VIR_AUTOPTR related changes

2018-08-08 Thread Ján Tomko
On Wed, Aug 08, 2018 at 08:23:42AM +0200, Erik Skultety wrote: 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

[libvirt] [PATCH 2/2] Fix the build on non-linux platforms after VIR_AUTOPTR related changes

2018-08-08 Thread Erik Skultety
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