From 59f0e7023c86e64db4e6d95aa501ea5a48a35cdf Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 10 Jan 2008 23:01:11 +0000 Subject: Fix warning. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16051 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/grey_scroll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/plugins/lib/grey_scroll.c b/apps/plugins/lib/grey_scroll.c index 4e1d5070fc..0e88655c89 100644 --- a/apps/plugins/lib/grey_scroll.c +++ b/apps/plugins/lib/grey_scroll.c @@ -267,7 +267,7 @@ void grey_ub_scroll_up(int count) /* Scroll down */ void grey_ub_scroll_down(int count) { - unsigned char *start, *dst, *src; + unsigned char *start, *dst; int blank; if ((unsigned)count >= (unsigned)_grey_info.height) @@ -282,7 +282,7 @@ void grey_ub_scroll_down(int count) if (count & _GREY_BMASK) { /* Scrolling by fractional blocks - move pixel wise. */ - unsigned char *line_end; + unsigned char *src, *line_end; int ys, yd; yd = _grey_info.height - 1; -- cgit v1.2.3