Build warning fixes for gcc-11.3

This commit is contained in:
Christoph Reichenbach authored and Ozkan Sezer committed 2022-06-04 17:41:00 +03:00
1 parent b359282a5c
commit 4e07d4722d
3 files changed
+8 -3

No files matched your search

+2 -2
View File
@@ -707,7 +707,7 @@ int rect_testIntersectRectEmpty (void *arg)
int rect_testIntersectRectParam(void *arg)
{
SDL_Rect rectA;
SDL_Rect rectB;
SDL_Rect rectB = {0};
SDL_Rect result;
SDL_bool intersection;
@@ -962,7 +962,7 @@ int rect_testHasIntersectionEmpty (void *arg)
int rect_testHasIntersectionParam(void *arg)
{
SDL_Rect rectA;
SDL_Rect rectB;
SDL_Rect rectB = {0};
SDL_bool intersection;
/* invalid parameter combinations */