inetcomm: Remove unused variables.
This commit is contained in:
parent
07ae2992b8
commit
d684d5accb
|
@ -324,7 +324,6 @@ static LRESULT CALLBACK InternetTransport_WndProc(HWND hwnd, UINT uMsg, WPARAM w
|
|||
|
||||
while (This->iCurrentBufferOffset < This->cbBuffer - 1)
|
||||
{
|
||||
struct timeval tv;
|
||||
fd_set infd;
|
||||
|
||||
if (recv(This->Socket, &This->pBuffer[This->iCurrentBufferOffset], 1, 0) <= 0)
|
||||
|
@ -358,8 +357,6 @@ static LRESULT CALLBACK InternetTransport_WndProc(HWND hwnd, UINT uMsg, WPARAM w
|
|||
|
||||
FD_ZERO(&infd);
|
||||
FD_SET(This->Socket, &infd);
|
||||
tv.tv_sec = 0;
|
||||
tv.tv_usec = 0;
|
||||
}
|
||||
if (This->iCurrentBufferOffset == This->cbBuffer - 1)
|
||||
return 0;
|
||||
|
|
|
@ -1510,7 +1510,6 @@ static HRESULT create_body_offset_list(IStream *stm, const char *boundary, struc
|
|||
DWORD read;
|
||||
int boundary_len = strlen(boundary);
|
||||
char *buf, *nl_boundary, *ptr, *overlap;
|
||||
DWORD total_read = 0;
|
||||
DWORD start = 0, overlap_no;
|
||||
offset_entry_t *cur_body = NULL;
|
||||
ULARGE_INTEGER cur;
|
||||
|
@ -1533,7 +1532,6 @@ static HRESULT create_body_offset_list(IStream *stm, const char *boundary, struc
|
|||
hr = IStream_Read(stm, overlap, PARSER_BUF_SIZE, &read);
|
||||
if(FAILED(hr)) goto end;
|
||||
if(read == 0) break;
|
||||
total_read += read;
|
||||
overlap[read] = '\0';
|
||||
|
||||
ptr = buf;
|
||||
|
|
Loading…
Reference in New Issue