From 9f960e405f72e1f624797547e1ad8e9584206118 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Tue, 26 Sep 2006 08:55:01 +0000 Subject: [PATCH] fix warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11056 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/zxbox/spect.c | 2 +- apps/plugins/zxbox/spscr.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apps/plugins/zxbox/spect.c b/apps/plugins/zxbox/spect.c index 47715fa9fd..879905de47 100644 --- a/apps/plugins/zxbox/spect.c +++ b/apps/plugins/zxbox/spect.c @@ -28,7 +28,7 @@ int SPNM(halfframe)(int firsttick, int numlines) { int tc, linesleft; - int feport, scline, border; + int feport, scline, border = 0; byte *scrptr; qbyte cmark = 0; diff --git a/apps/plugins/zxbox/spscr.c b/apps/plugins/zxbox/spscr.c index 6b85904d11..2693812bf6 100644 --- a/apps/plugins/zxbox/spscr.c +++ b/apps/plugins/zxbox/spscr.c @@ -74,7 +74,11 @@ byte *update_screen_line(byte *scrp, int coli, int scri, int border, qbyte *cmarkp) { qbyte *scrptr; +#if LCD_WIDTH == 320 && ( LCD_HEIGHT == 240 || LCD_HEIGHT == 200 ) qbyte brd_color; +#else + (void) border; +#endif int i; qbyte *tmptr, *mptr; qbyte mark, cmark;