block/vhdx.c: Mark parent_vhdx_guid variable as unused
commitc2ebb05e25dcb3acbcdaa541234746151d0ff6b1
authorPeter Maydell <peter.maydell@linaro.org>
Sun, 14 Sep 2014 19:29:59 +0000 (14 20:29 +0100)
committerStefan Hajnoczi <stefanha@redhat.com>
Mon, 22 Sep 2014 10:35:02 +0000 (22 11:35 +0100)
tree6024613a022e6c18f6a457adb03ffee7cdd1fa6f
parent07e2863d0271ac6c05206d8ce9e4f4c39b25d3ea
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.

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