Module: wine Branch: master Commit: 20adc792b26594b1ecdaf7a75dfec40329380ba0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=20adc792b26594b1ecdaf7a75d...
Author: Andrew Talbot andrew.talbot@talbotville.com Date: Mon Apr 21 22:23:18 2008 +0100
mshtml: Remove unused variable.
---
dlls/mshtml/install.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/mshtml/install.c b/dlls/mshtml/install.c index b991c49..e1226c6 100644 --- a/dlls/mshtml/install.c +++ b/dlls/mshtml/install.c @@ -93,7 +93,7 @@ static void set_registry(LPCSTR install_dir) WCHAR mshtml_key[100]; LPWSTR gecko_path; HKEY hkey; - DWORD res, len, size; + DWORD res, len;
static const WCHAR wszGeckoPath[] = {'G','e','c','k','o','P','a','t','h',0}; static const WCHAR wszWineGecko[] = {'w','i','n','e','_','g','e','c','k','o',0}; @@ -120,7 +120,6 @@ static void set_registry(LPCSTR install_dir)
memcpy(gecko_path+len, wszWineGecko, sizeof(wszWineGecko));
- size = len*sizeof(WCHAR)+sizeof(wszWineGecko); res = RegSetValueExW(hkey, wszGeckoPath, 0, REG_SZ, (LPVOID)gecko_path, len*sizeof(WCHAR)+sizeof(wszWineGecko)); heap_free(gecko_path);