From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wmfix-0003wm-H6 for qemu-devel@nongnu.org; Tue, 20 May 2014 04:48:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wmfis-0001k3-Fp for qemu-devel@nongnu.org; Tue, 20 May 2014 04:48:39 -0400 Date: Tue, 20 May 2014 10:48:24 +0200 From: Kevin Wolf Message-ID: <20140520084824.GA4440@noname.redhat.com> References: <1400562514-22903-1-git-send-email-sw@weilnetz.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1400562514-22903-1-git-send-email-sw@weilnetz.de> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH] block: Fix compiler warning (unused local function) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Weil Cc: Ronnie Sahlberg , qemu-trivial@nongnu.org, Peter Lieven , qemu-devel@nongnu.org, Stefan Hajnoczi , Paolo Bonzini Am 20.05.2014 um 07:08 hat Stefan Weil geschrieben: > Warning from gcc: >=20 > block/iscsi.c:384:13: error: > =E2=80=98iscsi_allocationmap_is_allocated=E2=80=99 defined but not use= d [-Werror=3Dunused-function] >=20 > The function is only used if LIBISCSI_FEATURE_IOVECTOR is defined. >=20 > Signed-off-by: Stefan Weil Looks like a duplicate of Jeff's "block: iscsi build fix if LIBISCSI_FEATURE_IOVECTOR is not defined", which Paolo already applied to his queue. Kevin