From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33793) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V2Rrx-00050A-9c for qemu-devel@nongnu.org; Thu, 25 Jul 2013 16:10:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1V2Rrv-0001JG-UX for qemu-devel@nongnu.org; Thu, 25 Jul 2013 16:10:37 -0400 From: Stefan Weil Date: Thu, 25 Jul 2013 22:10:31 +0200 Message-Id: <1374783031-26633-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] target-mips: Remove assignment to a variable which is never used List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-trivial Cc: Stefan Weil , qemu-devel , Aurelien Jarno 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 --- 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 } -- 1.7.10.4