wininet: Remove unused function.
This commit is contained in:
parent
17839bab6c
commit
46812a4bba
|
@ -71,13 +71,6 @@ typedef struct
|
||||||
#endif
|
#endif
|
||||||
} WININET_NETCONNECTION;
|
} WININET_NETCONNECTION;
|
||||||
|
|
||||||
inline static LPSTR WININET_strdup( LPCSTR str )
|
|
||||||
{
|
|
||||||
LPSTR ret = HeapAlloc( GetProcessHeap(), 0, strlen(str) + 1 );
|
|
||||||
if (ret) strcpy( ret, str );
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
|
|
||||||
inline static LPWSTR WININET_strdupW( LPCWSTR str )
|
inline static LPWSTR WININET_strdupW( LPCWSTR str )
|
||||||
{
|
{
|
||||||
LPWSTR ret = HeapAlloc( GetProcessHeap(), 0, (strlenW(str) + 1)*sizeof(WCHAR) );
|
LPWSTR ret = HeapAlloc( GetProcessHeap(), 0, (strlenW(str) + 1)*sizeof(WCHAR) );
|
||||||
|
|
Loading…
Reference in New Issue