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
This commit is contained in:
@@ -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 <vadim@wxwidgets.org>
|
||||
// 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 == '/' )
|
||||
{
|
||||
|
Reference in New Issue
Block a user