Parcourir la source

qt: fix uninitialized memory usage

Liam il y a 3 ans
Parent
commit
646656412f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/yuzu/main.h

+ 1 - 1
src/yuzu/main.h

@@ -390,7 +390,7 @@ private:
     GameList* game_list;
     LoadingScreen* loading_screen;
     QTimer shutdown_timer;
-    OverlayDialog* shutdown_dialog;
+    OverlayDialog* shutdown_dialog{};
 
     GameListPlaceholder* game_list_placeholder;