diff options
author | Alon Levy <alevy@redhat.com> | 2012-01-13 12:56:07 +0200 |
---|---|---|
committer | Alon Levy <alevy@redhat.com> | 2012-01-13 17:42:23 +0200 |
commit | a9bf7497797ca24ae23e0c5e7f7e0a4a6096c309 (patch) | |
tree | 63388765d65f27d3bb13cddd4c8415e96f0c6107 /client | |
parent | 96c292a0b491ac1ed8d352b4ee0bb099a6ec7332 (diff) | |
download | spice-a9bf7497797ca24ae23e0c5e7f7e0a4a6096c309.tar.gz spice-a9bf7497797ca24ae23e0c5e7f7e0a4a6096c309.tar.xz spice-a9bf7497797ca24ae23e0c5e7f7e0a4a6096c309.zip |
client/windows: fix several assigned but not used errors
Diffstat (limited to 'client')
-rw-r--r-- | client/windows/red_window.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
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; |