[libvirt] [PATCHv2] fix failure when building with --disable-debug
Eric Blake
eblake at redhat.com
Thu Jul 12 11:21:45 UTC 2012
On 07/11/2012 07:28 PM, Hu Tao wrote:
>>> # define VIR_DEBUG_INT(category, f, l, ...) \
>>> - do { } while (0)
>>> + virLogEatParam((void*)category, f, l, __VA_ARGS__)
>>
>> Any reason we have to use a cast, instead of just creating our eat
>> function with the correct type parameter in the first place?
>
> I just wanted to make the function more generic.
No need to make it more generic unless we actually use it in more than
one place.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120712/5756767b/attachment-0001.sig>
More information about the libvir-list
mailing list