Re: [PATCH] storage: don't shadow global 'wait' declaration

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

 



On 10/23/2012 07:33 AM, Ján Tomko wrote:
> Rename the 'wait' parameter to 'loop'.
> This silences the warning:
> storage/storage_backend.c:1348:34: error: declaration of 'wait' shadows
> a global declaration [-Werror=shadow]
> and fixes the build with -Werror.
> --
> Note: loop is pool backwards.
> ---
>  src/storage/storage_backend.c |    8 ++++----
>  src/storage/storage_backend.h |    2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)
> 

ACK, maybe I have werror disabled?

Thanks,
Cole

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