From: Stefan Weil Date: Thu, 25 Jul 2013 20:10:31 +0000 (+0200) Subject: target-mips: Remove assignment to a variable which is never used X-Git-Tag: qemu-xen-4.4.0-rc1~6^2~127^2~2^2 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=6c86f405efd6532b58ad1b607cc9f11e856ef5ca;p=qemu-upstream-4.4-testing.git target-mips: Remove assignment to a variable which is never used 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 --- diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c index 5cf1c3f04..b82837571 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 }