Module: wine Branch: master Commit: d6facdc0b8422f778889a63f866ac45b584aa247 URL: https://gitlab.winehq.org/wine/wine/-/commit/d6facdc0b8422f778889a63f866ac45...
Author: Alex Henrie alexhenrie24@gmail.com Date: Thu Oct 20 09:14:10 2022 -0600
shell32: Remove unused function strdupW.
---
dlls/shell32/shell32_main.h | 10 ---------- 1 file changed, 10 deletions(-)
diff --git a/dlls/shell32/shell32_main.h b/dlls/shell32/shell32_main.h index 33b85ee2726..f9607585184 100644 --- a/dlls/shell32/shell32_main.h +++ b/dlls/shell32/shell32_main.h @@ -231,16 +231,6 @@ HRESULT get_typeinfo(enum tid_t, ITypeInfo**) DECLSPEC_HIDDEN; void release_typelib(void) DECLSPEC_HIDDEN; void release_desktop_folder(void) DECLSPEC_HIDDEN;
-static inline WCHAR *strdupW(const WCHAR *src) -{ - WCHAR *dest; - if (!src) return NULL; - dest = heap_alloc((lstrlenW(src) + 1) * sizeof(*dest)); - if (dest) - lstrcpyW(dest, src); - return dest; -} - static inline WCHAR *strdupAtoW(const char *str) { WCHAR *ret;