From a9bf7497797ca24ae23e0c5e7f7e0a4a6096c309 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Fri, 13 Jan 2012 12:56:07 +0200 Subject: client/windows: fix several assigned but not used errors --- client/windows/red_window.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'client/windows') diff --git a/client/windows/red_window.cpp b/client/windows/red_window.cpp index 981fe9a5..89a33c9a 100644 --- a/client/windows/red_window.cpp +++ b/client/windows/red_window.cpp @@ -179,9 +179,8 @@ LRESULT CALLBACK RedWindow_p::WindowProc(HWND hWnd, UINT message, WPARAM wParam, switch (message) { case WM_PAINT: { PAINTSTRUCT ps; - HDC hdc; - hdc = BeginPaint(hWnd, &ps); + BeginPaint(hWnd, &ps); SpicePoint origin = window->get_origin(); SpiceRect r; r.left = ps.rcPaint.left - origin.x; -- cgit