Commit 63291b15 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

user32: Remove unused heap_strdupW helper.

parent 8db46756
......@@ -381,14 +381,4 @@ struct png_funcs
#define assert(expr) ((void)0)
#endif
static inline WCHAR *heap_strdupW(const WCHAR *src)
{
WCHAR *dst;
unsigned len;
if (!src) return NULL;
len = (lstrlenW(src) + 1) * sizeof(WCHAR);
if ((dst = heap_alloc(len))) memcpy(dst, src, len);
return dst;
}
#endif /* __WINE_USER_PRIVATE_H */
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