Module: wine Branch: master Commit: f7392a30ecb64d8165346200a912f0993bb84819 URL: https://source.winehq.org/git/wine.git/?a=commit;h=f7392a30ecb64d8165346200a...
Author: Nikolay Sivov nsivov@codeweavers.com Date: Tue Jul 2 20:44:24 2019 +0300
shlwapi: Remove unused function.
Signed-off-by: Nikolay Sivov nsivov@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/shlwapi/path.c | 15 --------------- 1 file changed, 15 deletions(-)
diff --git a/dlls/shlwapi/path.c b/dlls/shlwapi/path.c index a8d1c97..e7b56a7 100644 --- a/dlls/shlwapi/path.c +++ b/dlls/shlwapi/path.c @@ -54,21 +54,6 @@ static fnpIsNetDrive pIsNetDrive;
HRESULT WINAPI SHGetWebFolderFilePathW(LPCWSTR,LPWSTR,DWORD);
-static inline WCHAR* heap_strdupAtoW(LPCSTR str) -{ - WCHAR *ret = NULL; - - if (str) - { - DWORD len = MultiByteToWideChar(CP_ACP, 0, str, -1, NULL, 0); - ret = HeapAlloc(GetProcessHeap(), 0, len*sizeof(WCHAR)); - if (ret) - MultiByteToWideChar(CP_ACP, 0, str, -1, ret, len); - } - - return ret; -} - /************************************************************************* * PathBuildRootA [SHLWAPI.@] *