From 4cbbbd069ee50a6a46963e88aef956f6163c1b7e Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Thu, 27 Oct 2011 21:10:38 +0000 Subject: [PATCH] Remove unused wxIFFDecoder::picptr member variable. This variable was apparently unused and a local variable with the same name was used instead, resulting in Sun CC warnings about variable shadowing. Just remove the unused member variable to fix this. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/imagiff.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/imagiff.cpp b/src/common/imagiff.cpp index f71aaf3f7b..635758c559 100644 --- a/src/common/imagiff.cpp +++ b/src/common/imagiff.cpp @@ -81,7 +81,6 @@ private: IFFImage *m_image; // image data wxInputStream *m_f; // input stream unsigned char *databuf; - unsigned char *picptr; unsigned char *decomp_mem; void Destroy(); @@ -546,7 +545,7 @@ int wxIFFDecoder::ReadIFF() } m_image->p = new byte[bmhd_width * bmhd_height * 3]; - byte *picptr = m_image->p; + byte *picptr = m_image->p; if (!picptr) { Destroy(); return wxIFF_MEMERR; -- 2.45.2