]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zipstrm.cpp
Fixed update rectangle passed to WinInvalidateRect in wxWindowOS2::Refresh().
[wxWidgets.git] / src / common / zipstrm.cpp
index 6a7ebb12cc21b00932df69e6a10cd2a677af790b..d3053e30ff98b968ee8afaf42678a07e33ecefc4 100644 (file)
@@ -122,7 +122,7 @@ off_t wxZipInputStream::OnSysSeek(off_t seek, wxSeekMode mode)
         default : nextpos = m_Pos; break; /* just to fool compiler, never happens */
     }
 
-    size_t toskip = 0;
+    size_t toskip;
     if ( nextpos > m_Pos )
     {
         toskip = nextpos - m_Pos;