File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -916,7 +916,7 @@ static int SDLCALL rect_testIntersectRectEmpty(void *arg)
916
916
*/
917
917
static int SDLCALL rect_testIntersectRectParam (void * arg )
918
918
{
919
- SDL_Rect rectA ;
919
+ SDL_Rect rectA = { 0 } ;
920
920
SDL_Rect rectB = { 0 };
921
921
SDL_Rect result ;
922
922
bool intersection ;
@@ -1165,7 +1165,7 @@ static int SDLCALL rect_testHasIntersectionEmpty(void *arg)
1165
1165
*/
1166
1166
static int SDLCALL rect_testHasIntersectionParam (void * arg )
1167
1167
{
1168
- SDL_Rect rectA ;
1168
+ SDL_Rect rectA = { 0 } ;
1169
1169
SDL_Rect rectB = { 0 };
1170
1170
bool intersection ;
1171
1171
@@ -1726,7 +1726,7 @@ static int SDLCALL rect_testUnionRectInside(void *arg)
1726
1726
*/
1727
1727
static int SDLCALL rect_testUnionRectParam (void * arg )
1728
1728
{
1729
- SDL_Rect rectA , rectB = { 0 };
1729
+ SDL_Rect rectA = { 0 } , rectB = { 0 };
1730
1730
SDL_Rect result ;
1731
1731
1732
1732
/* invalid parameter combinations */
You can’t perform that action at this time.
0 commit comments