mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
shell32: Remove unused function strdupW.
This commit is contained in:
parent
0a66cfa9a2
commit
d6facdc0b8
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue