wininet: Remove variable len which is not really used from CommitUrlCacheEntryInternal.
This commit is contained in:
parent
a363c41e04
commit
dec98a5997
|
@ -2435,7 +2435,6 @@ static BOOL CommitUrlCacheEntryInternal(
|
|||
DWORD dwFileSizeLow = 0;
|
||||
DWORD dwFileSizeHigh = 0;
|
||||
BYTE cDirectory = 0;
|
||||
int len;
|
||||
char achFile[MAX_PATH];
|
||||
LPSTR lpszUrlNameA = NULL;
|
||||
LPSTR lpszFileExtensionA = NULL;
|
||||
|
@ -2556,7 +2555,6 @@ static BOOL CommitUrlCacheEntryInternal(
|
|||
dwBytesNeeded = DWORD_ALIGN(dwBytesNeeded + strlen(lpszUrlNameA) + 1);
|
||||
if (lpszLocalFileName)
|
||||
{
|
||||
len = WideCharToMultiByte(CP_ACP, 0, lpszUrlName, -1, NULL, 0, NULL, NULL);
|
||||
dwOffsetLocalFileName = dwBytesNeeded;
|
||||
dwBytesNeeded = DWORD_ALIGN(dwBytesNeeded + strlen(pchLocalFileName) + 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue