mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
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: Aurelien Jarno <aurelien@aurel32.net>
This commit is contained in:
parent
d36c231f4b
commit
d2e46d59ca
1 changed files with 0 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue