summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Weil2013-07-25 22:10:31 +0200
committerMichael Tokarev2013-07-27 09:22:54 +0200
commit6c86f405efd6532b58ad1b607cc9f11e856ef5ca (patch)
tree40835a9ea28e2c581ec495d77e4718ddb1694029
parentmisc: Use g_assert_not_reached for code which is expected to be unreachable (diff)
downloadqemu-6c86f405efd6532b58ad1b607cc9f11e856ef5ca.tar.gz
qemu-6c86f405efd6532b58ad1b607cc9f11e856ef5ca.tar.xz
qemu-6c86f405efd6532b58ad1b607cc9f11e856ef5ca.zip
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 <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--target-mips/op_helper.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target-mips/op_helper.c b/target-mips/op_helper.c
index 5cf1c3f04b..b828375714 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
}