From patchwork Wed Jul 20 19:40:18 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Weil X-Patchwork-Id: 105837 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 6128DB6F70 for ; Thu, 21 Jul 2011 07:10:48 +1000 (EST) Received: from localhost ([::1]:33281 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qje2X-0002sx-Aw for incoming@patchwork.ozlabs.org; Wed, 20 Jul 2011 17:10:45 -0400 Received: from eggs.gnu.org ([140.186.70.92]:33600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QjcdG-0003WO-Qj for qemu-devel@nongnu.org; Wed, 20 Jul 2011 15:40:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qjcd9-0003TY-1s for qemu-devel@nongnu.org; Wed, 20 Jul 2011 15:40:34 -0400 Received: from v220110690675601.yourvserver.net ([78.47.199.172]:60828) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qjcd8-0003T6-ET; Wed, 20 Jul 2011 15:40:26 -0400 Received: from localhost (v220110690675601.yourvserver.net.local [127.0.0.1]) by v220110690675601.yourvserver.net (Postfix) with ESMTP id 60A777282F86; Wed, 20 Jul 2011 21:40:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at weilnetz.de Received: from v220110690675601.yourvserver.net ([127.0.0.1]) by localhost (v220110690675601.yourvserver.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SVNixar2XnGB; Wed, 20 Jul 2011 21:40:19 +0200 (CEST) Received: from flocke.weilnetz.de (p54AD9D65.dip.t-dialin.net [84.173.157.101]) by v220110690675601.yourvserver.net (Postfix) with ESMTPSA id 65ACC7282F85; Wed, 20 Jul 2011 21:40:19 +0200 (CEST) Received: from stefan by flocke.weilnetz.de with local (Exim 4.72) (envelope-from ) id 1Qjcd0-0001Fp-NS; Wed, 20 Jul 2011 21:40:18 +0200 From: Stefan Weil To: QEMU Developers Date: Wed, 20 Jul 2011 21:40:18 +0200 Message-Id: <1311190818-4793-1-git-send-email-weil@mail.berlios.de> X-Mailer: git-send-email 1.7.2.5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 78.47.199.172 Cc: qemu-trivial@nongnu.org Subject: [Qemu-devel] [PATCH] darwin-user: Remove two unused variables 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 cppcheck report: darwin-user/signal.c:322: style: Unused variable: i darwin-user/signal.c:322: style: Variable 'err' is assigned a value that is never used Signed-off-by: Stefan Weil --- darwin-user/signal.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/darwin-user/signal.c b/darwin-user/signal.c index e2adca3..c530227 100644 --- a/darwin-user/signal.c +++ b/darwin-user/signal.c @@ -319,7 +319,6 @@ static void setup_frame(int sig, struct emulated_sigaction *ka, void *set, CPUState *env) { void *frame; - int i, err = 0; fprintf(stderr, "setup_frame %d\n", sig); frame = get_sigframe(ka, env, sizeof(*frame));