]> Git Repo - qemu.git/commitdiff
target-mips: Remove assignment to a variable which is never used
authorStefan Weil <[email protected]>
Thu, 25 Jul 2013 20:10:31 +0000 (22:10 +0200)
committerAurelien Jarno <[email protected]>
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 <[email protected]>
Signed-off-by: Aurelien Jarno <[email protected]>
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
 }
 
This page took 0.028525 seconds and 4 git commands to generate.