target-mips: Remove assignment to a variable which is never used
PATCH 1/1 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.
--- target-mips/op_helper.c | 1 - 1 file changed, 1 deletion(-)
target-mips/op_helper.c +0 -1
@@ -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 }
Signature · 1 line
1.7.10.4
Michael Tokarev
AppliedQuoted 5 lines · Stefan Weil
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.
Thanks, applied to the trivial patches queue.
/mjt
Aurelien Jarno
AppliedQuoted 16 lines · Stefan Weil
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]>--- target-mips/op_helper.c | 1 - 1 file changed, 1 deletion(-)target-mips/op_helper.c +0
-0
target-mips/op_helper.c target_ulong helper_evpe(CPUMIPSState *env) · line 1740
Quoted 7 lines
target-mips/op_helper.c +0
-1@@ -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 }
Thanks, applied.
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net
Quoted 12 lines · Aurelien Jarno
Quoted 11 lines · Stefan Weil
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]>--- target-mips/op_helper.c | 1 - 1 file changed, 1 deletion(-)
Quoted 13 lines
target-mips/op_helper.c target_ulong helper_evpe(CPUMIPSState *env) · line 1739
Quoted 11 lines
target-mips/op_helper.c +0
-1@@ -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 }Thanks, applied.
FWIW, you're applying this (and "linux-user: correct argument number ..") 3 days after I sent a pull request for trivial-patches which includes these patches.
Should I rebase and re-issue my pull request now?
Thanks,
/mjt
Quoted 27 lines · Michael Tokarev
Quoted 12 lines · Aurelien Jarno
Quoted 11 lines · Stefan Weil
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]>--- target-mips/op_helper.c | 1 - 1 file changed, 1 deletion(-)Quoted 13 lines
target-mips/op_helper.c target_ulong helper_evpe(CPUMIPSState *env) · line 1739
Quoted 11 lines
target-mips/op_helper.c +0
-1@@ -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 }Thanks, applied.
Quoted 3 lines
FWIW, you're applying this (and "linux-user: correct argument number ..") 3 days after I sent a pull request for trivial-patches which includes these patches.
Sorry about that, I haven't seen it was applied to this tree.
Quoted 1 line
Should I rebase and re-issue my pull request now?
Git is smart enough to handle that, you don't need to redo the pull request, which btw I have pulled.
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net