]> Git Repo - qemu.git/commit
lsi53c895a: avoid a write only variable
authorBlue Swirl <[email protected]>
Wed, 13 Oct 2010 18:38:07 +0000 (18:38 +0000)
committerBlue Swirl <[email protected]>
Wed, 13 Oct 2010 18:38:07 +0000 (18:38 +0000)
commitf3f5b867259dcb205b1f4fdd93165dec71e89201
tree447739c9c06dc3faa66263b093fd779c43461c82
parentef4760626e88bc3e7a1b46c7370378cbd12d379f
lsi53c895a: avoid a write only variable

Compiling with GCC 4.6.0 20100925 produced a warning:
/src/qemu/hw/lsi53c895a.c: In function 'lsi_do_msgout':
/src/qemu/hw/lsi53c895a.c:848:9: error: variable 'len' set but not used [-Werror=unused-but-set-variable]

Fix by adding a dummy cast so that the variable is not unused for
non-debug case.

Signed-off-by: Blue Swirl <[email protected]>
hw/lsi53c895a.c
This page took 0.025883 seconds and 4 git commands to generate.