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

urlmon: Remove unused function heap_strdupWtoA.

This function was introduced in commit 59055c4d but never used.
parent ce91ef64
...@@ -281,18 +281,4 @@ static inline LPWSTR heap_strdupAtoW(const char *str) ...@@ -281,18 +281,4 @@ static inline LPWSTR heap_strdupAtoW(const char *str)
return ret; return ret;
} }
static inline char *heap_strdupWtoA(const WCHAR *str)
{
char *ret = NULL;
if(str) {
size_t size = WideCharToMultiByte(CP_ACP, 0, str, -1, NULL, 0, NULL, NULL);
ret = heap_alloc(size);
if(ret)
WideCharToMultiByte(CP_ACP, 0, str, -1, ret, size, NULL, NULL);
}
return ret;
}
#endif /* __WINE_URLMON_MAIN_H */ #endif /* __WINE_URLMON_MAIN_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