소스 검색

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;