inetcomm: Remove unused variables
Andrew Talbot
andrew.talbot at talbotville.com
Sat May 3 08:03:13 CDT 2008
Changelog:
inetcomm: Remove unused variables.
diff --git a/dlls/inetcomm/internettransport.c b/dlls/inetcomm/internettransport.c
index 2dab22f..bba6aab 100644
--- a/dlls/inetcomm/internettransport.c
+++ b/dlls/inetcomm/internettransport.c
@@ -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;
diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c
index 1e39f27..ee03e92 100644
--- a/dlls/inetcomm/mimeole.c
+++ b/dlls/inetcomm/mimeole.c
@@ -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;
More information about the wine-patches
mailing list