hhctrl.ocx: Remove unused variable.
This commit is contained in:
parent
2a4cab5375
commit
9e01b1752a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue