From 13d2192496a436a7ae9e9891648dd7f9f183bde1 Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Fri, 12 Aug 2011 21:21:11 +0200 Subject: [PATCH] Fix warnings --- firmware/l0dable/r0type.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/firmware/l0dable/r0type.c b/firmware/l0dable/r0type.c index c2cbf42..355e7e0 100644 --- a/firmware/l0dable/r0type.c +++ b/firmware/l0dable/r0type.c @@ -151,7 +151,6 @@ void ram(void){ static bool screen_intro(void) { char key=0; - bool step = false; while(key==0) { getInputWaitRelease(); lcdFill(0); @@ -177,7 +176,6 @@ static bool screen_intro(void) { static void draw_splash(void){ char key=0; - bool step = false; while(key==0) { lcdFill(0); if (highscore_set(game.score, GLOBAL(nickname))){ @@ -190,7 +188,7 @@ static void draw_splash(void){ lcdDisplay(); key=getInputWaitTimeout(1000); } - return !(key==BTN_LEFT); + return; } static bool highscore_set(uint32_t score, char nick[]) { @@ -374,8 +372,6 @@ static void draw_score(void){ static void detect_collitions(void){ for(int i = 0;i 0){ - int as_x = game.asteroids_x[i]; - int as_y = game.asteroids_y[i]; int as_h = 0; int as_w = 0; if(game.asteroids_t[i] == 1){