Remove unnecessary wxUSE_STL test from HTML parser benchmark

The same code can be used in STL and non-STL builds.
This commit is contained in:
Vadim Zeitlin 2023-04-09 01:31:18 +01:00
parent 36009b02b3
commit 6ea0589ed3

View file

@ -367,12 +367,7 @@ void wx28HtmlParser::PopTagHandler()
wxList::compatibility_iterator first;
if ( !m_HandlersStack ||
#if wxUSE_STL
!(first = m_HandlersStack->GetFirst())
#else // !wxUSE_STL
((first = m_HandlersStack->GetFirst()) == nullptr)
#endif // wxUSE_STL/!wxUSE_STL
)
!(first = m_HandlersStack->GetFirst()) )
{
wxLogWarning(_("Warning: attempt to remove HTML tag handler from empty stack."));
return;