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:
parent
5bebae83a6
commit
0abbb298b2
1 changed files with 3 additions and 4 deletions
|
|
@ -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);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue