On 04/27/2018 11:15 AM, Eric Blake wrote:
> On 04/27/2018 02:20 AM, gaosheng cui wrote:
>> Hi,using ignore_value in libvirt source code
>> to do function return value processing,but I
>> can’t understand about it,can you give me some tips?thanks very much!
>
> Is your question about what ignore_va
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
Virtualiza
On 04/27/2018 02:20 AM, gaosheng cui wrote:
> Hi,using ignore_value in libvirt source code
> to do function return value processing,but I
> can’t understand about it,can you give me some tips?thanks very much!
Is your question about what ignore_value() does? It exists solely to
shut up compiler w
Hi,using ignore_value in libvirt source code
to do function return value processing,but I
can’t understand about it,can you give me some tips?thanks very much!
___
libvirt-users mailing list
libvirt-users@redhat.com
https://www.redhat.com/mailman/listinfo