[gtk+] win32: fix "unused variable" warning
- From: Paolo Borelli <pborelli src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] win32: fix "unused variable" warning
- Date: Sat, 5 Mar 2016 19:31:18 +0000 (UTC)
commit 58a49c1a4bfaf36dc52dc8ff4ad1c91c85277967
Author: Paolo Borelli <pborelli gnome org>
Date: Sat Mar 5 19:43:32 2016 +0100
win32: fix "unused variable" warning
gdk/win32/gdkdevice-virtual.c | 9 ++-------
1 files changed, 2 insertions(+), 7 deletions(-)
---
diff --git a/gdk/win32/gdkdevice-virtual.c b/gdk/win32/gdkdevice-virtual.c
index 64bf29c..452bd39 100644
--- a/gdk/win32/gdkdevice-virtual.c
+++ b/gdk/win32/gdkdevice-virtual.c
@@ -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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]