qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] qcow2: Fix build with DEBUG_EXT enabled


From: Kevin Wolf
Subject: [Qemu-devel] [PATCH] qcow2: Fix build with DEBUG_EXT enabled
Date: Fri, 17 Feb 2012 18:46:10 +0100

Signed-off-by: Kevin Wolf <address@hidden>
---
 block/qcow2.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/block/qcow2.c b/block/qcow2.c
index 3692b45..dea12c1 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);
-- 
1.7.6.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]