Commit d6facdc0 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

shell32: Remove unused function strdupW.

parent 0a66cfa9
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment