]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gifdecod.cpp
Fix for always failing assert in GetValue. Save the same value that
[wxWidgets.git] / src / common / gifdecod.cpp
index e520174b4db7db189de08cbd50b2c89a6ef3b0c1..0b53e9c627d29b16323fd77c1123d6549d5df699 100644 (file)
@@ -869,7 +869,6 @@ wxGIFErrorCode wxGIFDecoder::LoadGIF(wxInputStream& stream)
             if ((buf[8] & 0x80) == 0x80)
             {
                 unsigned int local_ncolors = 2 << (buf[8] & 0x07);
-                wxFileOffset pos = stream.TellI();
                 wxFileOffset numBytes = 3 * local_ncolors;
                 stream.SeekI(numBytes, wxFromCurrent);
             }