commit | 2abf314dddcfc1792a981ef6ecda343384b2a1a2 | [log] [tgz] |
---|---|---|
author | Blue Swirl <blauwirbel@gmail.com> | Wed Oct 13 18:38:08 2010 +0000 |
committer | Blue Swirl <blauwirbel@gmail.com> | Wed Oct 13 18:43:21 2010 +0000 |
tree | cdce8aa0f718c6e4a226633ea19a18440aa51ead | |
parent | 577f25a5eb2b1b3338fe03d31c6e87da5ce29e7c [diff] |
mips: avoid write only variables Compiling with GCC 4.6.0 20100925 produced a lot of warnings like: /src/qemu/target-mips/translate.c: In function 'gen_ld': /src/qemu/target-mips/translate.c:1039:17: error: variable 'opn' set but not used [-Werror=unused-but-set-variable] Fix by adding a dummy cast so that the variable is not unused. Signed-off-by: Blue Swirl <blauwirbel@gmail.com>