From 8e31adc0af9c477a8e389eaa9bc0cbeb27455707 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Mon, 20 Mar 2023 17:47:08 +0400 Subject: [PATCH] Remove unused variable --- ui/platform/win/ui_window_win.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/ui/platform/win/ui_window_win.cpp b/ui/platform/win/ui_window_win.cpp index 7918bf4..aa71452 100644 --- a/ui/platform/win/ui_window_win.cpp +++ b/ui/platform/win/ui_window_win.cpp @@ -512,7 +512,6 @@ bool WindowHelper::handleNativeEvent( && (wp.showCmd == SW_SHOWMAXIMIZED)) { const auto r = &((LPNCCALCSIZE_PARAMS)lParam)->rgrc[0]; const auto dpi = _dpi.current(); - const auto style = GetWindowLongPtr(_handle, GWL_STYLE); const auto borderWidth = (GetSystemMetricsForDpiSupported() && dpi) ? GetSystemMetricsForDpi(SM_CXSIZEFRAME, dpi) + GetSystemMetricsForDpi(SM_CXPADDEDBORDER, dpi)