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

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

 



On 19.5.2014 17:16, Eric Blake wrote:
> 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.
> 

Thanks, pushed,

Pavel

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