Andrew Talbot : inetcomm: Remove unused variables.

Alexandre Julliard julliard at winehq.org
Mon May 5 07:14:44 CDT 2008


Module: wine
Branch: master
Commit: d684d5accbc9dae1139b395eb5a99b59815e6d59
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d684d5accbc9dae1139b395eb5a99b59815e6d59

Author: Andrew Talbot <andrew.talbot at talbotville.com>
Date:   Sat May  3 14:03:13 2008 +0100

inetcomm: Remove unused variables.

---

 dlls/inetcomm/internettransport.c |    3 ---
 dlls/inetcomm/mimeole.c           |    2 --
 2 files changed, 0 insertions(+), 5 deletions(-)

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-cvs mailing list