mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-03 00:18:28 +00:00
Fix uninitialized variables
This commit is contained in:

committed by
Sam Lantinga

parent
9735c45db6
commit
409bb7722c
@@ -440,8 +440,8 @@ static void X11Toolkit_SettingsNotify(const char *name, XSettingsAction action,
|
||||
if (SDL_strcmp(name, SDL_XSETTINGS_GDK_WINDOW_SCALING_FACTOR) == 0 ||
|
||||
SDL_strcmp(name, SDL_XSETTINGS_GDK_UNSCALED_DPI) == 0 ||
|
||||
SDL_strcmp(name, SDL_XSETTINGS_XFT_DPI) == 0) {
|
||||
bool dbe_already_setup;
|
||||
bool pixmap_already_setup;
|
||||
bool dbe_already_setup = false;
|
||||
bool pixmap_already_setup = false;
|
||||
|
||||
if (window->pixmap) {
|
||||
pixmap_already_setup = true;
|
||||
|
Reference in New Issue
Block a user