summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorJeff Cody <jcody@redhat.com>2014-05-19 17:13:06 -0400
committerPaolo Bonzini <pbonzini@redhat.com>2014-05-20 10:09:45 +0200
commitf2564d88fe7949bdb5ca4ad652282c28b3da6210 (patch)
tree4d48b6bc5a43ec18294a2aff957161207a8da1f0 /scripts/qapi.py
parent91e7fcca4743cf694eb0c8e7a8d938cf359b5bd8 (diff)
downloadfocaccia-qemu-f2564d88fe7949bdb5ca4ad652282c28b3da6210.tar.gz
focaccia-qemu-f2564d88fe7949bdb5ca4ad652282c28b3da6210.zip
block: iscsi build fix if LIBISCSI_FEATURE_IOVECTOR is not defined
Commit b03c380 introduced the function
iscsi_allocationmap_is_allocated(), however it is only used within a
code block that is conditionally compiled.  This produces a warning
(error with -werror) of "defined but not used" for the the function, if
LIBISCSI_FEATURE_IOVECTOR is not defined.

This wraps iscsi_allocationmap_is_allocated() in the same conditional.

Signed-off-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions