[PATCH 0/1] MR1407: msxml3: Remove unused function heap_strdupW.
This function has not been used since commit 5b43c42c8832f3e6d0b70a54b01938f43b950647. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1407
From: Alex Henrie <alexhenrie24(a)gmail.com> This function has not been used since commit 5b43c42c8832f3e6d0b70a54b01938f43b950647. --- dlls/msxml3/msxml_private.h | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/dlls/msxml3/msxml_private.h b/dlls/msxml3/msxml_private.h index 8003c1a9650..e41b7c9979d 100644 --- a/dlls/msxml3/msxml_private.h +++ b/dlls/msxml3/msxml_private.h @@ -85,22 +85,6 @@ static inline void* __WINE_ALLOC_SIZE(2) heap_realloc_zero(void *mem, size_t siz return HeapReAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, mem, size); } -static inline LPWSTR heap_strdupW(LPCWSTR str) -{ - LPWSTR ret = NULL; - - if(str) { - DWORD size; - - size = (lstrlenW(str)+1)*sizeof(WCHAR); - ret = heap_alloc(size); - if(ret) - memcpy(ret, str, size); - } - - return ret; -} - /* XSLProcessor parameter list */ struct xslprocessor_par { -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/1407
This merge request was approved by Nikolay Sivov. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/1407
participants (3)
-
Alex Henrie -
Alex Henrie (@alexhenrie) -
Nikolay Sivov (@nsivov)