diff --git a/play.c b/play.c index 0dfb29c..00c2cbd 100644 --- a/play.c +++ b/play.c @@ -146,7 +146,6 @@ int play_level(void){ Uint32 t_start,t_end,t_gone,t_now; Sint32 t_left; Uint32 ticks; - Uint32 q; graphic* g=play->g; field* lvl=play->f; @@ -242,7 +241,6 @@ int play_level(void){ t_left=t_end-t_now; // printf("start: %5d, end: %5d, left: %5d, ticks: %5d, frame: %5d, z: %4d\n",t_start, t_end, t_left, ticks, frames, z); - q=0; if(t_left>0){ ticks-=t_left; DELAY(t_left,t_end); diff --git a/title.c b/title.c index de43a11..131e860 100644 --- a/title.c +++ b/title.c @@ -9,7 +9,7 @@ #define MENU_ENTRIES 5 /* XXXXXXXXXXXXXXXXXXXXXXXX!!!! */ SDL_Surface * create_title(menuentry * entries){ - SDL_Surface *title,*black,*s,*bkg; + SDL_Surface *title,*s,*bkg; int x; int xk,yk; @@ -20,7 +20,6 @@ SDL_Surface * create_title(menuentry * entries){ /* sleep(1); */ /* I'd like to have a cool intro here ;-) */ - black=NULL; /* To make it more readable, perhaps? black=SDL_CreateRGBSurface(SDL_HWSURFACE, s->w, s->h, s->format->BitsPerPixel, s->format->Rmask, s->format->Gmask,