]> git.proxmox.com Git - qemu.git/blobdiff - block/qcow2.c
qcow2: Fix build with DEBUG_EXT enabled
[qemu.git] / 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);