diff options
author | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:38:08 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-13 18:43:21 +0000 |
commit | 2abf314dddcfc1792a981ef6ecda343384b2a1a2 (patch) | |
tree | cdce8aa0f718c6e4a226633ea19a18440aa51ead /qobject.h | |
parent | 577f25a5eb2b1b3338fe03d31c6e87da5ce29e7c (diff) | |
download | qemu-2abf314dddcfc1792a981ef6ecda343384b2a1a2.tar.gz qemu-2abf314dddcfc1792a981ef6ecda343384b2a1a2.tar.bz2 qemu-2abf314dddcfc1792a981ef6ecda343384b2a1a2.zip |
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>
Diffstat (limited to 'qobject.h')
0 files changed, 0 insertions, 0 deletions