From a8f84bcded3777de8ca995dbbcf428aa9ca14725 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 26 Jul 2005 23:33:27 +0000 Subject: [PATCH] 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 --- src/html/m_image.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 ) {