Alexandre Julliard : shell32: Avoid traces that use size_t.
Alexandre Julliard
julliard at winehq.org
Mon Apr 28 08:00:52 CDT 2008
Module: wine
Branch: master
Commit: 93e775a8b70f1295e260ead88d1840cca579bb4c
URL: http://source.winehq.org/git/wine.git/?a=commit;h=93e775a8b70f1295e260ead88d1840cca579bb4c
Author: Alexandre Julliard <julliard at winehq.org>
Date: Fri Apr 25 17:01:50 2008 +0200
shell32: Avoid traces that use size_t.
---
dlls/shell32/shellpath.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/dlls/shell32/shellpath.c b/dlls/shell32/shellpath.c
index abbaf19..6e66d1f 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);
More information about the wine-cvs
mailing list