1
0
Fork 0
forked from len0rd/rockbox

Fix build warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11921 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Greg White 2007-01-05 18:00:56 +00:00
parent 7599fb6871
commit c76d3ae098

View file

@ -475,8 +475,6 @@ static void show_details (void)
static void init_rockblox (void) static void init_rockblox (void)
{ {
int i;
char str[25]; /* for strings */
highscore_update(score, level, Highest, MAX_HIGH_SCORES); highscore_update(score, level, Highest, MAX_HIGH_SCORES);
level = 1; level = 1;
@ -498,6 +496,8 @@ static void init_rockblox (void)
#endif #endif
show_details (); show_details ();
#ifdef HIGH_SCORE_Y #ifdef HIGH_SCORE_Y
int i;
char str[25]; /* for strings */
for (i = MAX_HIGH_SCORES-1; i>=0; i--) for (i = MAX_HIGH_SCORES-1; i>=0; i--)
{ {
rb->snprintf (str, sizeof (str), "%06d L%1d", Highest[i].score, Highest[i].level); rb->snprintf (str, sizeof (str), "%06d L%1d", Highest[i].score, Highest[i].level);