From c26a816f199a27dec5fa2b18c97c155933f5fe19 Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Sun, 8 Apr 2007 13:19:31 +0200 Subject: [PATCH] setupapi: Remove debug traces from allocation routines. --- dlls/setupapi/misc.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/dlls/setupapi/misc.c b/dlls/setupapi/misc.c index dcc76bfd92..e77bf87e02 100644 --- a/dlls/setupapi/misc.c +++ b/dlls/setupapi/misc.c @@ -51,7 +51,6 @@ WINE_DEFAULT_DEBUG_CHANNEL(setupapi); */ VOID WINAPI MyFree(LPVOID lpMem) { - TRACE("%p\n", lpMem); HeapFree(GetProcessHeap(), 0, lpMem); } @@ -70,7 +69,6 @@ VOID WINAPI MyFree(LPVOID lpMem) */ LPVOID WINAPI MyMalloc(DWORD dwSize) { - TRACE("%u\n", dwSize); return HeapAlloc(GetProcessHeap(), 0, dwSize); } @@ -95,8 +93,6 @@ LPVOID WINAPI MyMalloc(DWORD dwSize) */ LPVOID WINAPI MyRealloc(LPVOID lpSrc, DWORD dwSize) { - TRACE("%p %u\n", lpSrc, dwSize); - if (lpSrc == NULL) return HeapAlloc(GetProcessHeap(), 0, dwSize); @@ -123,8 +119,6 @@ LPWSTR WINAPI DuplicateString(LPCWSTR lpSrc) { LPWSTR lpDst; - TRACE("%s\n", debugstr_w(lpSrc)); - lpDst = MyMalloc((lstrlenW(lpSrc) + 1) * sizeof(WCHAR)); if (lpDst == NULL) return NULL; @@ -285,8 +279,6 @@ LPWSTR WINAPI MultiByteToUnicode(LPCSTR lpMultiByteStr, UINT uCodePage) LPWSTR lpUnicodeStr; int nLength; - TRACE("%s %d\n", debugstr_a(lpMultiByteStr), uCodePage); - nLength = MultiByteToWideChar(uCodePage, 0, lpMultiByteStr, -1, NULL, 0); if (nLength == 0) @@ -328,8 +320,6 @@ LPSTR WINAPI UnicodeToMultiByte(LPCWSTR lpUnicodeStr, UINT uCodePage) LPSTR lpMultiByteStr; int nLength; - TRACE("%s %d\n", debugstr_w(lpUnicodeStr), uCodePage); - nLength = WideCharToMultiByte(uCodePage, 0, lpUnicodeStr, -1, NULL, 0, NULL, NULL); if (nLength == 0)