Fixed use of uninitialized variable warning in test program.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Thu, 29 May 2014 22:44:08 +0200
changeset 87865e8f02536cd4
parent 8785 b74a32894c02
child 8787 8e20b31043cb
Fixed use of uninitialized variable warning in test program.
test/controllermap.c
     1.1 --- a/test/controllermap.c	Sat May 24 21:06:40 2014 -0400
     1.2 +++ b/test/controllermap.c	Thu May 29 22:44:08 2014 +0200
     1.3 @@ -109,7 +109,7 @@
     1.4      SDL_Rect dst;
     1.5      int s, _s;
     1.6      Uint8 alpha=200, alpha_step = -1;
     1.7 -    Uint32 alpha_ticks;
     1.8 +    Uint32 alpha_ticks = 0;
     1.9      char mapping[4096], temp[4096];
    1.10      MappingStep *step, *prev_step;
    1.11      MappingStep steps[] = {