From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:35328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTYTn-00006z-El for qemu-devel@nongnu.org; Mon, 15 Sep 2014 11:46:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XTYTf-000508-Lo for qemu-devel@nongnu.org; Mon, 15 Sep 2014 11:46:15 -0400 Received: from mail-wi0-x233.google.com ([2a00:1450:400c:c05::233]:35713) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XTYTf-0004zy-EM for qemu-devel@nongnu.org; Mon, 15 Sep 2014 11:46:07 -0400 Received: by mail-wi0-f179.google.com with SMTP id q5so2466341wiv.0 for ; Mon, 15 Sep 2014 08:46:01 -0700 (PDT) Date: Mon, 15 Sep 2014 16:45:58 +0100 From: Stefan Hajnoczi Message-ID: <20140915154558.GA32379@stefanha-thinkpad.redhat.com> References: <1410722999-17574-1-git-send-email-peter.maydell@linaro.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <1410722999-17574-1-git-send-email-peter.maydell@linaro.org> Subject: Re: [Qemu-devel] [PATCH] block/vhdx.c: Mark parent_vhdx_guid variable as unused List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: Kevin Wolf , Jeff Cody , qemu-devel@nongnu.org, Stefan Hajnoczi , patches@linaro.org --5vNYLRcllDrimb99 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 14, 2014 at 08:29:59PM +0100, Peter Maydell wrote: > The parent_vhdx_guid variable is defined but never used, which provokes > complaints from newer versions of clang. Since the variable definition > is here acting as documentation of the image format, mark it with the > 'unused' attribute to keep the compiler happy rather than simply > deleting it. >=20 > Signed-off-by: Peter Maydell > --- > block/vhdx.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Thanks, applied to my block tree: https://github.com/stefanha/qemu/commits/block Stefan --5vNYLRcllDrimb99 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBAgAGBQJUFwm2AAoJEJykq7OBq3PI2gUH/0lEPkelG2sZj19j92VxCUCf 0Biq/wx0Vx7+2Bd/Qc85mtDK7pWHhF7nC+Yt7jqcNc3cgrkbIDVoKt7PHvXIqm9Z 2rqZzhm0YqNZSFq8ByhCv1YMvO06XUtqO40/+iNUM2beJaw+hWrKySM8BC2nF21c pdwvEMeLfycvAKukSuo9gSaPbmYjLa3dOKfHxWM0Dh//ZodWF85xyllNYwc51+Zy Mltvno1pVvhFud3ksxKDa3RqaQnwgs/Voj+bXmJMivdCWkJmeYkLiG6XlxyEcWb8 mQbOzT2WcN1JvAJMsdzizLNLkxvibNl1cZffpnYgr8rQFvaGx1tWEkdyARIQJXw= =o8yi -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--