From e2cb99c8567e4010a2caf77e3e8b7e4501bf3d6a Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 17 May 2012 15:45:50 +0000 Subject: [PATCH] eliminate unused variable warning with wxUSE_LOG_DEBUG==0 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/markupparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/markupparser.cpp b/src/common/markupparser.cpp index d9dcf452c7..cb87983b0e 100644 --- a/src/common/markupparser.cpp +++ b/src/common/markupparser.cpp @@ -3,7 +3,7 @@ // Purpose: Implementation of wxMarkupParser. // Author: Vadim Zeitlin // Created: 2011-02-16 -// RCS-ID: $Id: $ +// RCS-ID: $Id$ // Copyright: (c) 2011 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -279,11 +279,11 @@ bool wxMarkupParser::Parse(const wxString& text) m_output.OnText(current); current.clear(); } - +#if wxUSE_LOG_DEBUG // Remember the tag starting position for the error // messages. const size_t pos = it - text.begin(); - +#endif bool start = true; if ( ++it != end && *it == '/' ) { -- 2.45.2