Andrew Talbot : hhctrl.ocx: Remove unused variable.
Alexandre Julliard
julliard at winehq.org
Wed Nov 21 14:45:14 CST 2012
Module: wine
Branch: master
Commit: 9e01b1752ac4d94444c34a6486d9f3ed6fcbf8ef
URL: http://source.winehq.org/git/wine.git/?a=commit;h=9e01b1752ac4d94444c34a6486d9f3ed6fcbf8ef
Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date: Tue Nov 20 20:58:28 2012 +0000
hhctrl.ocx: Remove unused variable.
---
dlls/hhctrl.ocx/help.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c
index 38446dc..f6155c7 100644
--- a/dlls/hhctrl.ocx/help.c
+++ b/dlls/hhctrl.ocx/help.c
@@ -266,7 +266,6 @@ static void DoSync(HHInfo *info)
{
WCHAR buf[INTERNET_MAX_URL_LENGTH];
HRESULT hres;
- DWORD len;
BSTR url;
hres = IWebBrowser2_get_LocationURL(info->web_browser, &url);
@@ -278,7 +277,7 @@ static void DoSync(HHInfo *info)
}
/* If we're not currently viewing a page in the active .chm file, abort */
- if ((!AppendFullPathURL(info->WinType.pszFile, buf, NULL)) || (len = lstrlenW(buf) > lstrlenW(url)))
+ if ((!AppendFullPathURL(info->WinType.pszFile, buf, NULL)) || (lstrlenW(buf) > lstrlenW(url)))
{
SysFreeString(url);
return;
More information about the wine-cvs
mailing list