Module: wine Branch: master Commit: cedeac3191eaab0fc53471fdfc8fb949ac459ef7 URL: http://source.winehq.org/git/wine.git/?a=commit;h=cedeac3191eaab0fc53471fdfc... Author: Andrew Talbot <andrew.talbot(a)talbotville.com> Date: Thu Nov 10 22:11:24 2011 +0000 appwiz.cpl: Remove an unused function. --- dlls/appwiz.cpl/addons.c | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) 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 {