fixed double-used local variable name

This commit is contained in:
Günter Obiltschnig
2017-09-16 11:35:12 +02:00
parent c5263c1499
commit d9a6954950

View File

@@ -411,9 +411,9 @@ XMLStreamParser::EventType XMLStreamParser::nextImpl(bool peek)
} }
case EV_START_ELEMENT: case EV_START_ELEMENT:
{ {
if (const ElementEntry* e = getElement()) if (const ElementEntry* pEntry = getElement())
{ {
switch (e->content) switch (pEntry->content)
{ {
case Content::Empty: case Content::Empty:
throw XMLStreamParserException(*this, "element in empty content"); throw XMLStreamParserException(*this, "element in empty content");