Skip to content

Commit

Permalink
Fixed compile warnings about uninitialized variables in test library.
Browse files Browse the repository at this point in the history
Found by buildbot.
  • Loading branch information
philippwiesemann committed Jan 6, 2016
1 parent a4ce22f commit 1d1ba58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/SDL_test_compare.c
Expand Up @@ -43,7 +43,7 @@ int SDLTest_CompareSurfaces(SDL_Surface *surface, SDL_Surface *referenceSurface,
int bpp, bpp_reference;
Uint8 *p, *p_reference;
int dist;
int sampleErrorX, sampleErrorY, sampleDist;
int sampleErrorX = 0, sampleErrorY = 0, sampleDist = 0;
Uint8 R, G, B, A;
Uint8 Rd, Gd, Bd, Ad;
char imageFilename[128];
Expand Down

0 comments on commit 1d1ba58

Please sign in to comment.