1
0
Fork 0
forked from len0rd/rockbox

Obligatory fix-a-few-warnings commit...

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12346 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Zakk Roberts 2007-02-17 10:32:19 +00:00
parent 5bebae83a6
commit 0abbb298b2

View file

@ -76,8 +76,8 @@ PLUGIN_HEADER
#elif CONFIG_KEYPAD == ONDIO_PAD #elif CONFIG_KEYPAD == ONDIO_PAD
#define QUIT BUTTON_OFF #define QUIT BUTTON_OFF
#define ACTION BUTTON_UP #define ACTION BUTTON_UP
#define ACTION BUTTON_MENU #define ACTION2 BUTTON_MENU
#define ACTIONTEXT "RIGHT" #define ACTIONTEXT "UP"
#else #else
#error Unsupported keypad #error Unsupported keypad
@ -461,7 +461,7 @@ static int chopParticleOffscreen(struct CParticle *mParticle)
static void chopKillPlayer(void) static void chopKillPlayer(void)
{ {
int w, i, button; int i, button;
for (i = 0; i < NUMBER_OF_PARTICLES; i++) { for (i = 0; i < NUMBER_OF_PARTICLES; i++) {
mParticles[i].bIsActive = 0; mParticles[i].bIsActive = 0;
@ -480,7 +480,6 @@ static void chopKillPlayer(void)
if (score > highscore) { if (score > highscore) {
char scoretext[30]; char scoretext[30];
int w;
highscore = score; highscore = score;
rb->snprintf(scoretext, sizeof(scoretext), "New High Score: %d", rb->snprintf(scoretext, sizeof(scoretext), "New High Score: %d",
highscore); highscore);