aboutsummaryrefslogtreecommitdiff
path: root/block/qcow2.c
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2012-02-17 18:45:33 +0100
committerKevin Wolf <kwolf@redhat.com>2012-02-29 12:48:47 +0100
commit423477e5568c75e5b6e468c561e75417d8ae9585 (patch)
tree5073bdce0b7311aac7e388a3b9dca42b0b46d347 /block/qcow2.c
parentd53cdb307a6f6d7a5136898902659f2ded8f6582 (diff)
qcow2: Fix build with DEBUG_EXT enabled
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/qcow2.c')
-rw-r--r--block/qcow2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/qcow2.c b/block/qcow2.c
index 3692b4523b..dea12c1b24 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);