fix warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11056 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Anton Romanov 2006-09-26 08:55:01 +00:00
parent 25ffd2e146
commit 9f960e405f
2 changed files with 5 additions and 1 deletions

View file

@ -28,7 +28,7 @@ int SPNM(halfframe)(int firsttick, int numlines)
{ {
int tc, linesleft; int tc, linesleft;
int feport, scline, border; int feport, scline, border = 0;
byte *scrptr; byte *scrptr;
qbyte cmark = 0; qbyte cmark = 0;

View file

@ -74,7 +74,11 @@ byte *update_screen_line(byte *scrp, int coli, int scri, int border,
qbyte *cmarkp) qbyte *cmarkp)
{ {
qbyte *scrptr; qbyte *scrptr;
#if LCD_WIDTH == 320 && ( LCD_HEIGHT == 240 || LCD_HEIGHT == 200 )
qbyte brd_color; qbyte brd_color;
#else
(void) border;
#endif
int i; int i;
qbyte *tmptr, *mptr; qbyte *tmptr, *mptr;
qbyte mark, cmark; qbyte mark, cmark;