[libvirt] [PATCH] maint: turn on gcc logical-op checking

Eric Blake eblake at redhat.com
Fri Jul 23 20:55:20 UTC 2010


On 07/23/2010 02:28 PM, Eric Blake wrote:
> However, on Fedora 13, it also triggers LOTS of warnings from
> the libcurl-devel header for one file:
>
> esx/esx_vi.c: In function 'esxVI_CURL_Perform':
> esx/esx_vi.c:232: error: logical '&&' with non-zero constant will always evaluate as true [-Wlogical-op]

For the record, I filed
  https://bugzilla.redhat.com/show_bug.cgi?id=617757
against curl (and/or gcc)

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




More information about the libvir-list mailing list