[libvirt] [PATCH] storage: don't shadow global 'wait' declaration
Peter Krempa
pkrempa at redhat.com
Tue Oct 23 11:57:37 UTC 2012
On 10/23/12 13:33, 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 and will be pushed shortly.
Peter
More information about the libvir-list
mailing list