From patchwork Fri Feb 17 17:46:10 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Wolf X-Patchwork-Id: 141949 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [140.186.70.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C12ECB7089 for ; Sat, 18 Feb 2012 04:42:55 +1100 (EST) Received: from localhost ([::1]:52432 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyRpb-0006mP-BM for incoming@patchwork.ozlabs.org; Fri, 17 Feb 2012 12:42:51 -0500 Received: from eggs.gnu.org ([140.186.70.92]:37972) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyRpV-0006m1-LX for qemu-devel@nongnu.org; Fri, 17 Feb 2012 12:42:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RyRpU-0004Zt-K4 for qemu-devel@nongnu.org; Fri, 17 Feb 2012 12:42:45 -0500 Received: from mx1.redhat.com ([209.132.183.28]:36893) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RyRpU-0004ZY-4N for qemu-devel@nongnu.org; Fri, 17 Feb 2012 12:42:44 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q1HHgh9g012991 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 17 Feb 2012 12:42:43 -0500 Received: from dhcp-5-188.str.redhat.com (vpn1-6-61.ams2.redhat.com [10.36.6.61]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q1HHgf4q008508; Fri, 17 Feb 2012 12:42:42 -0500 From: Kevin Wolf To: qemu-devel@nongnu.org Date: Fri, 17 Feb 2012 18:46:10 +0100 Message-Id: <1329500770-19177-1-git-send-email-kwolf@redhat.com> X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.132.183.28 Cc: kwolf@redhat.com Subject: [Qemu-devel] [PATCH] qcow2: Fix build with DEBUG_EXT enabled X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Signed-off-by: Kevin Wolf --- 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);