+1
−3
Loading
Commit b03c3805 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>