block/vhdx.c: Mark parent_vhdx_guid variable as unused 37/29437/1
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 14 Sep 2014 19:29:59 +0000 (20:29 +0100)
committerGiWoong Kim <giwoong.kim@samsung.com>
Tue, 28 Oct 2014 03:48:12 +0000 (12:48 +0900)
commit4e4e9a27e23e4b96f5bbf79981ed6120a629841d
tree792a0d0e6bb0ad15fcfeb4100a9bafb74e609f74
parent378c2c2d99368977470b65be6d7aadf3b35e6e5d
block/vhdx.c: Mark parent_vhdx_guid variable as unused

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.

Change-Id: I9748b3b20922666e5f2efceb80e37e99ea3430ce
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Fam Zheng <famz@redhat.com>
Reviewed-by: Jeff Cody <jcody@redhat.com>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
block/vhdx.c