Nikolay Sivov : shlwapi: Remove unused function.

Alexandre Julliard julliard at winehq.org
Tue Jul 2 15:32:03 CDT 2019


Module: wine
Branch: master
Commit: f7392a30ecb64d8165346200a912f0993bb84819
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f7392a30ecb64d8165346200a912f0993bb84819

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Tue Jul  2 20:44:24 2019 +0300

shlwapi: Remove unused function.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at 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.@]
  *




More information about the wine-cvs mailing list