Fixed compile warnings about uninitialized variables in test library.
authorPhilipp Wiesemann <philipp.wiesemann@arcor.de>
Wed, 06 Jan 2016 22:39:29 +0100
changeset 10037e2343ac4788e
parent 10036 e6bb3d0d0902
child 10038 2bab6f8d403e
Fixed compile warnings about uninitialized variables in test library.

Found by buildbot.
src/test/SDL_test_compare.c
     1.1 --- a/src/test/SDL_test_compare.c	Wed Jan 06 22:39:04 2016 +0100
     1.2 +++ b/src/test/SDL_test_compare.c	Wed Jan 06 22:39:29 2016 +0100
     1.3 @@ -43,7 +43,7 @@
     1.4     int bpp, bpp_reference;
     1.5     Uint8 *p, *p_reference;
     1.6     int dist;
     1.7 -   int sampleErrorX, sampleErrorY, sampleDist;
     1.8 +   int sampleErrorX = 0, sampleErrorY = 0, sampleDist = 0;
     1.9     Uint8 R, G, B, A;
    1.10     Uint8 Rd, Gd, Bd, Ad;
    1.11     char imageFilename[128];