From cedeac3191eaab0fc53471fdfc8fb949ac459ef7 Mon Sep 17 00:00:00 2001 From: Andrew Talbot Date: Thu, 10 Nov 2011 22:11:24 +0000 Subject: [PATCH] appwiz.cpl: Remove an unused function. --- dlls/appwiz.cpl/addons.c | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/dlls/appwiz.cpl/addons.c b/dlls/appwiz.cpl/addons.c index 3099ec8f5d6..0e3591bc577 100644 --- a/dlls/appwiz.cpl/addons.c +++ b/dlls/appwiz.cpl/addons.c @@ -74,19 +74,6 @@ static const WCHAR mshtml_keyW[] = static HWND install_dialog = NULL; static LPWSTR url = NULL; -static inline char *heap_strdupWtoA(LPCWSTR str) -{ - char *ret = NULL; - - if(str) { - DWORD size = WideCharToMultiByte(CP_ACP, 0, str, -1, NULL, 0, NULL, NULL); - ret = heap_alloc(size); - WideCharToMultiByte(CP_ACP, 0, str, -1, ret, size, NULL, NULL); - } - - return ret; -} - /* SHA definitions are copied from advapi32. They aren't available in headers. */ typedef struct {