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

2012-10-23 Thread Ján Tomko
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

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

2012-10-23 Thread Peter Krempa
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. ---

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

2012-10-23 Thread Cole Robinson
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. ---

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

2012-10-23 Thread Eric Blake
On 10/23/2012 09:48 AM, Cole Robinson wrote: 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