[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCHv2 5/6] build: silence clang false positive
- From: Matthias Bolte <matthias bolte googlemail com>
- To: Eric Blake <eblake redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCHv2 5/6] build: silence clang false positive
- Date: Wed, 18 May 2011 17:49:57 +0200
2011/5/18 Eric Blake <eblake 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.
Matthias
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]