From f6f89bf67d6327b4e5741d38c706b8aade8ad898 Mon Sep 17 00:00:00 2001 From: Alex Henrie Date: Wed, 16 Nov 2022 22:08:55 -0700 Subject: [PATCH] dpnet: Remove unused function heap_strdupW. --- dlls/dpnet/dpnet_private.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/dlls/dpnet/dpnet_private.h b/dlls/dpnet/dpnet_private.h index 9458a5123aa..2e36b9ffeee 100644 --- a/dlls/dpnet/dpnet_private.h +++ b/dlls/dpnet/dpnet_private.h @@ -21,7 +21,6 @@ #ifndef __WINE_DPNET_PRIVATE_H #define __WINE_DPNET_PRIVATE_H -#include "wine/heap.h" #include #include "winsock2.h" @@ -150,12 +149,4 @@ typedef struct { #define FE(x) { x, #x } #define GE(x) { &x, #x } -static inline WCHAR *heap_strdupW( const WCHAR *src ) -{ - WCHAR *dst; - if (!src) return NULL; - if ((dst = heap_alloc( (lstrlenW( src ) + 1) * sizeof(WCHAR) ))) lstrcpyW( dst, src ); - return dst; -} - #endif