diff --git a/PowerEditor/src/Notepad_plus_Window.cpp b/PowerEditor/src/Notepad_plus_Window.cpp index b089b60ea..7a5a3d605 100644 --- a/PowerEditor/src/Notepad_plus_Window.cpp +++ b/PowerEditor/src/Notepad_plus_Window.cpp @@ -59,9 +59,6 @@ void Notepad_plus_Window::init(HINSTANCE hInst, HWND parent, const TCHAR *cmdLin throw std::runtime_error("Notepad_plus_Window::init : RegisterClass() function failed"); } - RECT workAreaRect; - ::SystemParametersInfo(SPI_GETWORKAREA, 0, &workAreaRect, 0); - NppParameters *pNppParams = NppParameters::getInstance(); NppGUI & nppGUI = (NppGUI &)pNppParams->getNppGUI();