mirror of
https://github.com/Relintai/sdl2_frt.git
synced 2025-01-31 00:09:19 +01:00
Fixed use of uninitialized variable warning in test program.
This commit is contained in:
parent
dd5277d65c
commit
3a8033587b
@ -109,7 +109,7 @@ WatchJoystick(SDL_Joystick * joystick)
|
|||||||
SDL_Rect dst;
|
SDL_Rect dst;
|
||||||
int s, _s;
|
int s, _s;
|
||||||
Uint8 alpha=200, alpha_step = -1;
|
Uint8 alpha=200, alpha_step = -1;
|
||||||
Uint32 alpha_ticks;
|
Uint32 alpha_ticks = 0;
|
||||||
char mapping[4096], temp[4096];
|
char mapping[4096], temp[4096];
|
||||||
MappingStep *step, *prev_step;
|
MappingStep *step, *prev_step;
|
||||||
MappingStep steps[] = {
|
MappingStep steps[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user