summaryrefslogtreecommitdiff
path: root/hw
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2010-01-13 18:58:51 +0000
committerBlue Swirl <blauwirbel@gmail.com>2010-01-13 18:58:51 +0000
commitf7e683b8c3d15271cbc260e6cae0d5186b6db1d2 (patch)
tree85dac6c7a591be63efed44c18bdce50141f9631d /hw
parentf368a3cea4fe81b3d5a698de4f2075938ec9cc0a (diff)
downloadqemu-f7e683b8c3d15271cbc260e6cae0d5186b6db1d2.tar.gz
qemu-f7e683b8c3d15271cbc260e6cae0d5186b6db1d2.tar.bz2
qemu-f7e683b8c3d15271cbc260e6cae0d5186b6db1d2.zip
Sparc32: remove dead increment, spotted by clang
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw')
-rw-r--r--hw/tcx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/tcx.c b/hw/tcx.c
index 7598e8c2f1..beb30ac825 100644
--- a/hw/tcx.c
+++ b/hw/tcx.c
@@ -161,7 +161,7 @@ static inline void tcx24_draw_line32(TCXState *s1, uint8_t *d,
p8++;
b = *p8++;
g = *p8++;
- r = *p8++;
+ r = *p8;
if (bgr)
dval = rgb_to_pixel32bgr(r, g, b);
else