rbd: fix build with LIBRBD_VERSION_CODE <= 265
Add ATTRIBUTE_UNUSED to the volStorageBackendRBDGetFlags stub. Fixes: 21deeaf02fdf216b08210fc899579736973ca81d Signed-off-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
8bfb36db40
commit
650e62e034
@ -501,8 +501,8 @@ virStorageBackendRBDSetAllocation(virStorageVolDefPtr vol,
|
|||||||
|
|
||||||
#else
|
#else
|
||||||
static int
|
static int
|
||||||
volStorageBackendRBDGetFlags(rbd_image_t image,
|
volStorageBackendRBDGetFlags(rbd_image_t image ATTRIBUTE_UNUSED,
|
||||||
const char *volname,
|
const char *volname ATTRIBUTE_UNUSED,
|
||||||
uint64_t *flags)
|
uint64_t *flags)
|
||||||
{
|
{
|
||||||
*flags = 0;
|
*flags = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user