Debug output cleanup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[extracted from office1.diff]

ChangeLog:
  Remove over-the-top trace output (by Codeweavers).

--
Dimi.
Index: dlls/comctl32/comctl32undoc.c
===================================================================
RCS file: /var/cvs/wine/dlls/comctl32/comctl32undoc.c,v
retrieving revision 1.57
diff -u -r1.57 comctl32undoc.c
--- dlls/comctl32/comctl32undoc.c	18 Jan 2002 19:04:39 -0000	1.57
+++ dlls/comctl32/comctl32undoc.c	26 Jan 2002 06:44:34 -0000
@@ -1470,23 +1470,14 @@
 INT WINAPI
 DSA_InsertItem (const HDSA hdsa, INT nIndex, LPVOID pSrc)
 {
-    INT   nNewItems, nSize, i;
+    INT   nNewItems, nSize;
     LPVOID  lpTemp, lpDest;
-    LPDWORD p;
     
     TRACE("(%p %d %p)\n", hdsa, nIndex, pSrc);
 
     if ((!hdsa) || nIndex < 0)
 	return -1;
 
-    for (i = 0; i < hdsa->nItemSize; i += 4) {
-	p = *(DWORD**)((char *) pSrc + i);
-	if (IsBadStringPtrA ((char*)p, 256))
-	    TRACE("-- %d=%p\n", i, (DWORD*)p);
-	else
-	    TRACE("-- %d=%p [%s]\n", i, p, debugstr_a((char*)p));
-    }
-   
     /* when nIndex >= nItemCount then append */
     if (nIndex >= hdsa->nItemCount)
  	nIndex = hdsa->nItemCount;

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux