Gerald Pfeifer : winefile: Remove variable hChildClass which is not really used from InitInstance.
Alexandre Julliard
julliard at winehq.org
Mon May 10 11:59:13 CDT 2010
Module: wine
Branch: master
Commit: 7b252d6edb7db11f745b307daa5f44ea1725492d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7b252d6edb7db11f745b307daa5f44ea1725492d
Author: Gerald Pfeifer <gerald at pfeifer.com>
Date: Fri May 7 22:30:39 2010 +0200
winefile: Remove variable hChildClass which is not really used from InitInstance.
---
programs/winefile/winefile.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/programs/winefile/winefile.c b/programs/winefile/winefile.c
index b63144c..c150c9a 100644
--- a/programs/winefile/winefile.c
+++ b/programs/winefile/winefile.c
@@ -4505,7 +4505,6 @@ static void InitInstance(HINSTANCE hinstance)
WNDCLASSEXW wcFrame;
WNDCLASSW wcChild;
- ATOM hChildClass;
int col;
INITCOMMONCONTROLSEX icc = {
@@ -4551,7 +4550,7 @@ static void InitInstance(HINSTANCE hinstance)
wcChild.lpszMenuName = 0;
wcChild.lpszClassName = sWINEFILETREE;
- hChildClass = RegisterClassW(&wcChild);
+ RegisterClassW(&wcChild);
Globals.haccel = LoadAcceleratorsW(hinstance, MAKEINTRESOURCEW(IDA_WINEFILE));
More information about the wine-cvs
mailing list