]> git.proxmox.com Git - qemu.git/commitdiff
qcow2: Fix build with DEBUG_EXT enabled
authorKevin Wolf <kwolf@redhat.com>
Fri, 17 Feb 2012 17:45:33 +0000 (18:45 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 29 Feb 2012 11:48:47 +0000 (12:48 +0100)
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/qcow2.c

index 3692b4523b43a049dd40a451c990ba84c182eb55..dea12c1b2435851a0454fcbba5ba5dd6b18280a8 100644 (file)
@@ -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);