diff options
| author | Jeff Cody | 2014-05-19 23:13:06 +0200 |
|---|---|---|
| committer | Paolo Bonzini | 2014-05-20 10:09:45 +0200 |
| commit | f2564d88fe7949bdb5ca4ad652282c28b3da6210 (patch) | |
| tree | 4d48b6bc5a43ec18294a2aff957161207a8da1f0 /scripts | |
| parent | virtio-scsi: Plug memory leak on virtio_scsi_push_event() error path (diff) | |
| download | qemu-f2564d88fe7949bdb5ca4ad652282c28b3da6210.tar.gz qemu-f2564d88fe7949bdb5ca4ad652282c28b3da6210.tar.xz 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')
0 files changed, 0 insertions, 0 deletions
