shell32: Remove unused function strdupW.

This commit is contained in:
Alex Henrie 2022-10-20 09:14:10 -06:00 committed by Alexandre Julliard
parent 0a66cfa9a2
commit d6facdc0b8

View file

@ -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;