appwiz.cpl: Remove an unused function

Andrew Talbot andrew.talbot at talbotville.com
Thu Nov 10 16:11:24 CST 2011


Changelog:
    appwiz.cpl: Remove an unused function.

diff --git a/dlls/appwiz.cpl/addons.c b/dlls/appwiz.cpl/addons.c
index 3099ec8..0e3591b 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 {



More information about the wine-patches mailing list