Commit 58a49c1a authored by Paolo Borelli's avatar Paolo Borelli

win32: fix "unused variable" warning

parent 6066519e
......@@ -92,13 +92,8 @@ gdk_device_virtual_set_window_cursor (GdkDevice *device,
GdkWindow *window,
GdkCursor *cursor)
{
GdkWindow *parent_window;
GdkWindowImplWin32 *impl;
GdkCursor *previous_cursor;
impl = GDK_WINDOW_IMPL_WIN32 (window->impl);
previous_cursor = impl->cursor;
GdkWindowImplWin32 *impl = GDK_WINDOW_IMPL_WIN32 (window->impl);
GdkCursor *previous_cursor = impl->cursor;
if (cursor != NULL && GDK_WIN32_CURSOR (cursor)->hcursor != NULL)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment