From: Blue Swirl Date: Wed, 13 Jan 2010 18:58:51 +0000 (+0000) Subject: Sparc32: remove dead increment, spotted by clang X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=f7e683b8c3d15271cbc260e6cae0d5186b6db1d2;p=qemu.git Sparc32: remove dead increment, spotted by clang Signed-off-by: Blue Swirl --- 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