From f7e683b8c3d15271cbc260e6cae0d5186b6db1d2 Mon Sep 17 00:00:00 2001 From: Blue Swirl Date: Wed, 13 Jan 2010 18:58:51 +0000 Subject: Sparc32: remove dead increment, spotted by clang Signed-off-by: Blue Swirl --- hw/tcx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hw') 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 -- cgit v1.2.3