From 0a8748bce747775ad2e29b635863b7ea6bb6ec83 Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 29 Apr 2021 19:33:36 +0200 Subject: [PATCH] Fixed an uninitialized variable in win/win_ui.c. --- src/win/win_ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win/win_ui.c b/src/win/win_ui.c index 8093e7f8d..326c1f87f 100644 --- a/src/win/win_ui.c +++ b/src/win/win_ui.c @@ -1271,7 +1271,7 @@ ui_init(int nCmdShow) WCHAR title[200]; WNDCLASSEX wincl; /* buffer for main window's class */ RAWINPUTDEVICE ridev; /* RawInput device */ - MSG messages; /* received-messages buffer */ + MSG messages = {0}; /* received-messages buffer */ HWND hwnd = NULL; /* handle for our window */ HACCEL haccel; /* handle to accelerator table */ RECT sbar_rect; /* RECT of the status bar */