From 3a8033587ba407d532464857dabb06c422d610ee Mon Sep 17 00:00:00 2001 From: Philipp Wiesemann Date: Thu, 29 May 2014 22:44:08 +0200 Subject: [PATCH] Fixed use of uninitialized variable warning in test program. --- test/controllermap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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[] = {