Skip to contentSkip to conversation

qcow2: Fix build with DEBUG_EXT enabled

PATCH New Kevin Wolf 1 participant 1 message Feb 17, 2012 Block layer

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

PATCH 1/1 qcow2: Fix build with DEBUG_EXT enabled

---
 block/qcow2.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
block/qcow2.c +0 -1
index 3692b45..dea12c1 100644
@@ -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);
Signature · 1 line
1.7.6.5