From dc3189a7103091b4a14de2a4c6ae12440ea1d0cd Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Sun, 20 Nov 2022 19:37:23 -0700 Subject: [PATCH] urlmon: Remove unused function heap_strdupWtoA. This function was introduced in commit 59055c4d45c674c2a9dc2efcb8d0a973f870f3ac but never used. --- dlls/urlmon/urlmon_main.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dlls/urlmon/urlmon_main.h b/dlls/urlmon/urlmon_main.h index 691c63e3b42..6687fbd0516 100644 --- a/dlls/urlmon/urlmon_main.h +++ b/dlls/urlmon/urlmon_main.h @@ -281,18 +281,4 @@ static inline LPWSTR heap_strdupAtoW(const char *str) return ret; } -static inline char *heap_strdupWtoA(const WCHAR *str) -{ - char *ret = NULL; - - if(str) { - size_t size = WideCharToMultiByte(CP_ACP, 0, str, -1, NULL, 0, NULL, NULL); - ret = heap_alloc(size); - if(ret) - WideCharToMultiByte(CP_ACP, 0, str, -1, ret, size, NULL, NULL); - } - - return ret; -} - #endif /* __WINE_URLMON_MAIN_H */ -- 2.11.4.GIT