mirror of
https://github.com/yawut/SDL.git
synced 2026-04-16 22:05:59 -05:00
Fixed compile warnings about uninitialized variables in test library.
Found by buildbot.
This commit is contained in:
parent
327027d07d
commit
0bfcdcd7a0
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user