From patchwork Sat Jul 27 07:33:26 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Tokarev X-Patchwork-Id: 262387 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 8C2FB2C00DE for ; Sat, 27 Jul 2013 17:35:41 +1000 (EST) Received: from localhost ([::1]:39782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2z2P-0004jb-Qt for incoming@patchwork.ozlabs.org; Sat, 27 Jul 2013 03:35:37 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40625) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2z1d-0004Ae-Re for qemu-devel@nongnu.org; Sat, 27 Jul 2013 03:34:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2z1d-0006SK-1n for qemu-devel@nongnu.org; Sat, 27 Jul 2013 03:34:49 -0400 Received: from isrv.corpit.ru ([86.62.121.231]:40226) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2z1c-0006RE-RF; Sat, 27 Jul 2013 03:34:48 -0400 Received: from gandalf.tls.msk.ru (mjt.vpn.tls.msk.ru [192.168.177.99]) by isrv.corpit.ru (Postfix) with ESMTP id 3879E42F73; Sat, 27 Jul 2013 11:34:48 +0400 (MSK) Received: by gandalf.tls.msk.ru (Postfix, from userid 1000) id 532D720288A; Sat, 27 Jul 2013 11:33:28 +0400 (MSK) From: Michael Tokarev To: anthony@codemonkey.ws Date: Sat, 27 Jul 2013 11:33:26 +0400 Message-Id: <1374910406-15273-12-git-send-email-mjt@msgid.tls.msk.ru> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1374910406-15273-1-git-send-email-mjt@msgid.tls.msk.ru> References: <1374910406-15273-1-git-send-email-mjt@msgid.tls.msk.ru> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 86.62.121.231 Cc: qemu-trivial@nongnu.org, Stefan Weil , Michael Tokarev , qemu-devel@nongnu.org Subject: [Qemu-devel] [PULL trivial 11/11] target-mips: Remove assignment to a variable which is never used 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 From: Stefan Weil This assignment causes a compiler warning for compilations with the compiler option -Wunused-but-set-variable (which is included with -Wextra). Removing it allows using -Wextra for QEMU code without suppressing too many extra warnings. Signed-off-by: Stefan Weil Signed-off-by: Michael Tokarev --- target-mips/op_helper.c | 1 - 1 file changed, 1 deletion(-) diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 5cf1c3f..b828375 100644 --- a/target-mips/op_helper.c +++ b/target-mips/op_helper.c @@ -1735,7 +1735,6 @@ target_ulong helper_evpe(CPUMIPSState *env) void helper_fork(target_ulong arg1, target_ulong arg2) { // arg1 = rt, arg2 = rs - arg1 = 0; // TODO: store to TC register }