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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/5/18 Eric Blake <eblake@xxxxxxxxxx>:
> 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.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]