summaryrefslogtreecommitdiff
path: root/test/controllermap.c
diff options
context:
space:
mode:
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>2014-05-29 22:44:08 +0200
committerPhilipp Wiesemann <philipp.wiesemann@arcor.de>2014-05-29 22:44:08 +0200
commit3d80ab04a41c0ef26808047157f076acf48e0d77 (patch)
tree783c256f550d647d848bf49e75ffb84ddd4009b9 /test/controllermap.c
parenta6f6c9eda270b55e7475f8b815cbe3c7eaa2cc97 (diff)
downloadsdl-3d80ab04a41c0ef26808047157f076acf48e0d77.tar.gz
Fixed use of uninitialized variable warning in test program.
Diffstat (limited to 'test/controllermap.c')
-rw-r--r--test/controllermap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/controllermap.c b/test/controllermap.c
index a4f251744..fd7b14440 100644
--- a/test/controllermap.c
+++ b/test/controllermap.c
@@ -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[] = {