[libvirt] [PATCHv2 5/6] build: silence clang false positive

Eric Blake eblake at redhat.com
Wed May 18 19:22:42 UTC 2011


On 05/18/2011 09:49 AM, Matthias Bolte wrote:
> 2011/5/18 Eric Blake <eblake at redhat.com>:
>> Clang couldn't quite see that the same condition of
>> (flags & VIR_DOMAIN_MEM_CONFIG) is used twice, such that
>> the second block is guaranteed that def was assigned in
>> the first block.
>>
>> * src/libxl/libxl_driver.c (libxlDomainSetMemoryFlags): Add a hint
>> for clang.
>> ---
>>
>> v2: no change from v1
>> v1: https://www.redhat.com/archives/libvir-list/2011-May/msg00726.html
>>
>>  src/libxl/libxl_driver.c |    2 ++
>>  1 files changed, 2 insertions(+), 0 deletions(-)
>>
> 
> ACK.

Thanks; pushed.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://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/libvir-list/attachments/20110518/e37b9b0f/attachment-0001.sig>


More information about the libvir-list mailing list