[libvirt-users] [libvirt] ignore_value

Eric Blake eblake at redhat.com
Fri Apr 27 16:25:30 UTC 2018


On 04/27/2018 11:15 AM, Eric Blake wrote:

> You can think of 'ignore_value(foo());' the same as '(void*)foo();',

Typo, make that '(void)foo();'

> except that the latter doesn't shut up all compilers.


-- 
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20180427/150f8a0d/attachment.sig>


More information about the libvirt-users mailing list