On 10/06/2010 11:34 PM, Blue Swirl wrote:
Compiling with GCC 4.6.0 20100925 produced warnings: /src/qemu/target-i386/op_helper.c: In function 'switch_tss': /src/qemu/target-i386/op_helper.c:283:53: error: variable 'new_trap' set but not used [-Werror=unused-but-set-variable]Fix by deleting the variable.
Again, this warning tells us the emulation is incorrect, so it's wrong to remove it.
Paolo