]> git.ipfire.org Git - thirdparty/libvirt.git/commit
storage: don't shadow global 'wait' declaration
authorJán Tomko <jtomko@redhat.com>
Tue, 23 Oct 2012 11:33:21 +0000 (13:33 +0200)
committerCole Robinson <crobinso@redhat.com>
Sat, 27 Oct 2012 19:14:22 +0000 (15:14 -0400)
commit03bf498f2ccf707c71a2e6523335288d83ca7969
tree66b029c84f482bdf6608090dddee451b8c0012c4
parentbd098c1143c5cbc4f7f1c08d06b86c361f0682b8
storage: don't shadow global 'wait' declaration

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.
(cherry picked from commit b326765c801ef5c291cbd9ab2c51b20128047b56)
src/storage/storage_backend.c
src/storage/storage_backend.h