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 -1
View File
@@ -1372,7 +1372,8 @@ video_getSetWindowMinimumSize(void *arg)
int wVariation, hVariation;
int referenceW, referenceH;
int currentW, currentH;
int desiredW, desiredH;
int desiredW = 1;
int desiredH = 1;
/* Get display bounds for size range */
result = SDL_GetDisplayBounds(0, &display);