瀏覽代碼

qt: fix uninitialized memory usage

Liam 3 年之前
父節點
當前提交
646656412f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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;