Module: wine Branch: master Commit: 0f7307b9df5b99f6296511340de1b47156215fff URL: https://gitlab.winehq.org/wine/wine/-/commit/0f7307b9df5b99f6296511340de1b47...
Author: Alex Henrie alexhenrie24@gmail.com Date: Sun Dec 4 21:29:25 2022 -0700
wiaservc: Remove unused function wiaservc_strdup.
This function has not been used since commit ee9698c55f647a3e9fea0ea71b2d01d6b91c430c.
---
dlls/wiaservc/wiaservc_private.h | 9 --------- 1 file changed, 9 deletions(-)
diff --git a/dlls/wiaservc/wiaservc_private.h b/dlls/wiaservc/wiaservc_private.h index 33c9ba10fc0..c8bdbaaa53f 100644 --- a/dlls/wiaservc/wiaservc_private.h +++ b/dlls/wiaservc/wiaservc_private.h @@ -36,13 +36,4 @@ typedef struct
HRESULT wiadevmgr_Constructor(IWiaDevMgr **ppObj) DECLSPEC_HIDDEN;
-/* Little helper functions */ -static inline char * -wiaservc_strdup(const char *s) -{ - size_t n = strlen(s) + 1; - char *d = HeapAlloc(GetProcessHeap(), 0, n); - return d ? memcpy(d, s, n) : NULL; -} - #endif /* __WIASERVC_PRIVATE__ */