mirror of https://gitee.com/openkylin/libvirt.git
rbd: fix build with LIBRBD_VERSION_CODE <= 265
Add ATTRIBUTE_UNUSED to the volStorageBackendRBDGetFlags stub.
Fixes: 21deeaf02f
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…
Reference in New Issue