[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] block/vhdx.c: Mark parent_vhdx_guid variable as
From: |
Stefan Hajnoczi |
Subject: |
Re: [Qemu-devel] [PATCH] block/vhdx.c: Mark parent_vhdx_guid variable as unused |
Date: |
Mon, 15 Sep 2014 16:45:58 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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.
>
> Signed-off-by: Peter Maydell <address@hidden>
> ---
> 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
pgp3yq773rbvr.pgp
Description: PGP signature