From: Kevin Wolf Date: Fri, 17 Feb 2012 17:45:33 +0000 (+0100) Subject: qcow2: Fix build with DEBUG_EXT enabled X-Git-Tag: v1.1-rc0~290^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=423477e5568c75e5b6e468c561e75417d8ae9585;p=thirdparty%2Fqemu.git qcow2: Fix build with DEBUG_EXT enabled Signed-off-by: Kevin Wolf --- diff --git a/block/qcow2.c b/block/qcow2.c index 3692b4523b4..dea12c1b243 100644 --- a/block/qcow2.c +++ b/block/qcow2.c @@ -89,7 +89,6 @@ static int qcow2_read_extensions(BlockDriverState *bs, uint64_t start_offset, while (offset < end_offset) { #ifdef DEBUG_EXT - BDRVQcowState *s = bs->opaque; /* Sanity check */ if (offset > s->cluster_size) printf("qcow2_read_extension: suspicious offset %lu\n", offset);