Removed two distracting gcc-11 warnings

This commit is contained in:
Christoph Reichenbach 2022-06-05 06:53:15 +00:00 committed by Ozkan Sezer
parent 3807e95029
commit 46624b4e1d
1 changed files with 2 additions and 2 deletions

View File

@ -1231,7 +1231,7 @@ int rect_testEnclosePointsParam(void *arg)
{ {
SDL_Point points[1]; SDL_Point points[1];
int count; int count;
SDL_Rect clip; SDL_Rect clip = { 0 };
SDL_Rect result; SDL_Rect result;
SDL_bool anyEnclosed; SDL_bool anyEnclosed;
@ -1457,7 +1457,7 @@ int rect_testUnionRectInside(void *arg)
*/ */
int rect_testUnionRectParam(void *arg) int rect_testUnionRectParam(void *arg)
{ {
SDL_Rect rectA, rectB; SDL_Rect rectA, rectB = { 0 };
SDL_Rect result; SDL_Rect result;
/* invalid parameter combinations */ /* invalid parameter combinations */