From ca4aefb88b962a8d9569d7579fd64acee63e8c2c Mon Sep 17 00:00:00 2001 From: Matej Knopp Date: Wed, 7 Jul 2021 22:53:50 +0200 Subject: [PATCH] Remove unnecessary variable assignment --- shell/platform/windows/window_win32.cc | 1 - 1 file changed, 1 deletion(-) diff --git a/shell/platform/windows/window_win32.cc b/shell/platform/windows/window_win32.cc index 4449915cde98d..f827acc0e8344 100644 --- a/shell/platform/windows/window_win32.cc +++ b/shell/platform/windows/window_win32.cc @@ -382,7 +382,6 @@ WindowWin32::HandleMessage(UINT const message, keycode_for_char_message_ = wparam; break; } - character = 0; unsigned int keyCode(wparam); const unsigned int scancode = (lparam >> 16) & 0xff; const bool extended = ((lparam >> 24) & 0x01) == 0x01;