From 93e775a8b70f1295e260ead88d1840cca579bb4c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 25 Apr 2008 17:01:50 +0200 Subject: [PATCH] shell32: Avoid traces that use size_t. --- dlls/shell32/shellpath.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c index abbaf1927df..6e66d1f67ea 100644 --- a/dlls/shell32/shellpath.c +++ b/dlls/shell32/shellpath.c @@ -1699,7 +1699,6 @@ HRESULT WINAPI SHGetFolderPathAndSubDirA( pszPathW = HeapAlloc(GetProcessHeap(), 0, MAX_PATH * sizeof(WCHAR)); if(!pszPathW) { hr = HRESULT_FROM_WIN32(ERROR_NOT_ENOUGH_MEMORY); - WARN("Failed to allocate %u bytes of memory\n", MAX_PATH * sizeof(WCHAR)); goto cleanup; } } @@ -1714,7 +1713,6 @@ HRESULT WINAPI SHGetFolderPathAndSubDirA( pszSubPathW = HeapAlloc(GetProcessHeap(), 0, length * sizeof(WCHAR)); if(!pszSubPathW) { hr = HRESULT_FROM_WIN32(ERROR_NOT_ENOUGH_MEMORY); - WARN("Failed to allocate %u bytes of memory\n", length * sizeof(WCHAR)); goto cleanup; } MultiByteToWideChar(CP_ACP, 0, pszSubPath, -1, pszSubPathW, length);