[05/10] comctl32/hotkey: Remove useless line
Nikolay Sivov
bunglehead at gmail.com
Sun May 24 16:20:28 CDT 2009
This removes unneeded local variable.
>From c297251102ed13d24c1bc4475cda1c21b2167cae Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun, 24 May 2009 23:36:11 +0400
Subject: Remove useless line
---
dlls/comctl32/hotkey.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/hotkey.c b/dlls/comctl32/hotkey.c
index 165d95d..a72b487 100644
--- a/dlls/comctl32/hotkey.c
+++ b/dlls/comctl32/hotkey.c
@@ -239,10 +239,9 @@ HOTKEY_Create (HOTKEY_INFO *infoPtr, const CREATESTRUCTW *lpcs)
static LRESULT
HOTKEY_Destroy (HOTKEY_INFO *infoPtr)
{
- HWND hwnd = infoPtr->hwndSelf;
/* free hotkey info data */
+ SetWindowLongPtrW (infoPtr->hwndSelf, 0, 0);
Free (infoPtr);
- SetWindowLongPtrW (hwnd, 0, 0);
return 0;
}
--
1.5.6.5
More information about the wine-patches
mailing list