PATCH: dlls/comctl32/theming.c

Gerald Pfeifer gerald at pfeifer.com
Sun Aug 14 16:17:54 CDT 2005


Spotted by GCC 3.4: a static function which is not used anywhere.

Gerald

ChangeLog:
Remove unused function THEMING_SubclassProc().

Index: theming.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/theming.c,v
retrieving revision 1.2
diff -u -3 -p -r1.2 theming.c
--- theming.c	12 Aug 2005 15:52:56 -0000	1.2
+++ theming.c	14 Aug 2005 21:16:11 -0000
@@ -47,28 +47,6 @@ static WNDPROC originalProcs[NUM_SUBCLAS
 static ATOM atRefDataProp;
 static ATOM atSubclassProp;
 
-/***********************************************************************
- * THEMING_SubclassProc
- *
- * The window proc registered to the subclasses. Fetches the subclass
- * proc and ref data and call the proc.
- */
-static LRESULT CALLBACK THEMING_SubclassProc (HWND wnd, UINT msg,
-                                              WPARAM wParam, LPARAM lParam)
-{
-    int subclass = (int)GetPropW (wnd, MAKEINTATOMW (atSubclassProp));
-    LRESULT result;
-    ULONG_PTR refData;
-
-    refData = (ULONG_PTR)GetPropW (wnd, MAKEINTATOMW (atRefDataProp));
-
-    TRACE ("%d; (%p, %x, %x, %lx, %lx)", subclass, wnd, msg, wParam, lParam, 
-        refData);
-    result = subclasses[subclass].subclassProc (wnd, msg, wParam, lParam, refData);
-    TRACE (" = %lx\n", result);
-    return result;
-}
-
 /* Generate a number of subclass window procs.
  * With a single proc alone, we can't really reliably find out the superclass,
  * hence, the first time the subclass is called, these "stubs" are used which



More information about the wine-patches mailing list