From: Vadim Zeitlin Date: Tue, 26 Jul 2005 23:33:27 +0000 (+0000) Subject: moved declaration of variable only used if wxUSE_GIF inside #if wxUSE_GIF block X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a8f84bcded3777de8ca995dbbcf428aa9ca14725 moved declaration of variable only used if wxUSE_GIF inside #if wxUSE_GIF block git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index fd4ff24855..05fe9e123b 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -372,9 +372,8 @@ wxHtmlImageCell::wxHtmlImageCell(wxWindow *window, wxFSFile *input, if ( s ) { - bool readImg = true; - #if wxUSE_GIF && wxUSE_TIMER + bool readImg = true; if ( (input->GetLocation().Matches(wxT("*.gif")) || input->GetLocation().Matches(wxT("*.GIF"))) && m_window ) {