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

Re: [libvirt] [PATCH] cmdPoolDiscoverSources: initialize earlier to avoid FP from clang



According to Jim Meyering on 3/1/2010 7:45 AM:
> This change hoists the initialization of srcSpec to the top,
> to keep clang from reporting a false-positive used-uninitialized problem.
> 
> Subject: [PATCH] cmdPoolDiscoverSources: initialize earlier to avoid FP from clang
> 
> * tools/virsh.c (cmdPoolDiscoverSources): Always initialize srcSpec.

ACK.

-- 
Eric Blake   eblake redhat com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


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