]> git.proxmox.com Git - qemu.git/commitdiff
target-mips: Remove assignment to a variable which is never used
authorStefan Weil <sw@weilnetz.de>
Thu, 25 Jul 2013 20:10:31 +0000 (22:10 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 28 Jul 2013 22:31:43 +0000 (00:31 +0200)
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: Aurelien Jarno <aurelien@aurel32.net>
target-mips/op_helper.c

index 5cf1c3f04b6667f540542fd4e0a6884fe88f19a4..b828375714e0f4a8ca02b43eb95131c87937985d 100644 (file)
@@ -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
 }