Fixed warning C4701: potentially uninitialized local variable 'props' used

main
Sam Lantinga 2023-10-18 09:04:05 -07:00
parent f7dc63bcc3
commit 48d80efb51
1 changed files with 1 additions and 1 deletions

View File

@ -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;