From 48d80efb516bc9185cef71391cd586fa8d43c55e Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 18 Oct 2023 09:04:05 -0700 Subject: [PATCH] Fixed warning C4701: potentially uninitialized local variable 'props' used --- src/SDL_properties.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/SDL_properties.c b/src/SDL_properties.c index 6fa46fbf3..22613752d 100644 --- a/src/SDL_properties.c +++ b/src/SDL_properties.c @@ -98,7 +98,7 @@ void SDL_QuitProperties(void) SDL_PropertiesID SDL_CreateProperties(void) { - SDL_PropertiesID props; + SDL_PropertiesID props = 0; SDL_Properties *properties = NULL; SDL_bool inserted = SDL_FALSE;