Re: [Qemu-devel] [PATCH] target-mips: Fix warning caused by unused local variable

2011-05-14 Thread Aurelien Jarno
On Sun, May 08, 2011 at 10:24:39AM +0200, Stefan Weil wrote: > cppcheck report: > target-mips/helper.c:276: style: > Variable 'access_type' is assigned a value that is never used > > 'access_type' is only used for system emulation, so the patch > simply fixes the conditional compilation. > > The

[Qemu-devel] [PATCH] target-mips: Fix warning caused by unused local variable

2011-05-08 Thread Stefan Weil
cppcheck report: target-mips/helper.c:276: style: Variable 'access_type' is assigned a value that is never used 'access_type' is only used for system emulation, so the patch simply fixes the conditional compilation. There remains an issue with the return value 'ret' in user mode emulation. The a