src/test/SDL_test_compare.c
changeset 10037 e2343ac4788e
parent 9998 f67cf37e9cd4
child 10737 3406a0f8b041
     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];