Fixed use of uninitialized variable warning in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 29 May 2014 22:44:08 +0200
changeset 8786 5e8f02536cd4
parent 8785 b74a32894c02
child 8787 8e20b31043cb
Fixed use of uninitialized variable warning in test program.
test/controllermap.c
--- a/test/controllermap.c	Sat May 24 21:06:40 2014 -0400
+++ b/test/controllermap.c	Thu May 29 22:44:08 2014 +0200
@@ -109,7 +109,7 @@
     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[] = {