]> 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)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 23 Oct 2012 11:56:59 +0000 (13:56 +0200)
commitb326765c801ef5c291cbd9ab2c51b20128047b56
tree2adb1ad75284ccb4951cb7a6ac9c289a7c716183
parent662f8a2ab34bc1acbb94a689324908e67d646660
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.
src/storage/storage_backend.c
src/storage/storage_backend.h