winefile: Remove variable hChildClass which is not really used from InitInstance.

Gerald Pfeifer gerald at pfeifer.com
Fri May 7 15:30:39 CDT 2010


---
 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));
-- 
1.6.6.2



More information about the wine-patches mailing list