Fixed use of uninitialized variable warning in test program.

This commit is contained in:
Philipp Wiesemann 2014-05-29 22:44:08 +02:00
parent dd5277d65c
commit 3a8033587b
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ WatchJoystick(SDL_Joystick * joystick)
SDL_Rect dst;
int s, _s;
Uint8 alpha=200, alpha_step = -1;
Uint32 alpha_ticks;
Uint32 alpha_ticks = 0;
char mapping[4096], temp[4096];
MappingStep *step, *prev_step;
MappingStep steps[] = {