Module: wine Branch: master Commit: 73bbada78409b4aa2e1dc11bb657d51496061a5f URL: https://gitlab.winehq.org/wine/wine/-/commit/73bbada78409b4aa2e1dc11bb657d51...
Author: Alex Henrie alexhenrie24@gmail.com Date: Mon Nov 21 07:59:18 2022 -0700
taskschd: Remove unused function heap_strdupW.
---
dlls/taskschd/taskschd_private.h | 10 ---------- 1 file changed, 10 deletions(-)
diff --git a/dlls/taskschd/taskschd_private.h b/dlls/taskschd/taskschd_private.h index accbc76afe4..e8d834edc3d 100644 --- a/dlls/taskschd/taskschd_private.h +++ b/dlls/taskschd/taskschd_private.h @@ -31,14 +31,4 @@ HRESULT RegisteredTaskCollection_create(const WCHAR *path, IRegisteredTaskCollec
WCHAR *get_full_path(const WCHAR *parent, const WCHAR *path) DECLSPEC_HIDDEN;
-static inline WCHAR *heap_strdupW(const WCHAR *src) -{ - WCHAR *dst; - unsigned len; - if (!src) return NULL; - len = (lstrlenW(src) + 1) * sizeof(WCHAR); - if ((dst = heap_alloc(len))) memcpy(dst, src, len); - return dst; -} - #endif /* __WINE_TASKSCHD_PRIVATE_H__ */