mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
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
|
||||
static int
|
||||
volStorageBackendRBDGetFlags(rbd_image_t image,
|
||||
const char *volname,
|
||||
volStorageBackendRBDGetFlags(rbd_image_t image ATTRIBUTE_UNUSED,
|
||||
const char *volname ATTRIBUTE_UNUSED,
|
||||
uint64_t *flags)
|
||||
{
|
||||
*flags = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user