Re: [PATCH] avoid 'sync' as variable name

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

 



On 05/19/2014 08:44 AM, Pavel Hrdina wrote:
> Old gcc complains about shadowing 'sync' variable:
> 
> ../../src/qemu/qemu_agent.c: In function 'qemuAgentSetTime':
> ../../src/qemu/qemu_agent.c:1737: warning: declaration of 'sync'
>   shadows a global declaration [-Wshadow]
> /usr/include/unistd.h:464: warning: shadowed declaration is here
>   [-Wshadow]
> 
> Signed-off-by: Pavel Hrdina <phrdina@xxxxxxxxxx>
> ---
>  src/qemu/qemu_agent.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

ACK; qualifies as a trivial build-breaker.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
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]