Fix assigning child in MatroskaTagField::reparse

This commit is contained in:
Martchus 2017-09-21 22:41:03 +02:00
parent d968b7cfd1
commit 7ffb83c4b2
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ void MatroskaTagField::reparse(EbmlElement &simpleTagElement, bool parseNestedFi
clear();
simpleTagElement.parse();
bool tagDefaultFound = false;
for(EbmlElement *child = simpleTagElement.firstChild(); child; child = child = child->nextSibling()) {
for(EbmlElement *child = simpleTagElement.firstChild(); child; child = child->nextSibling()) {
try {
child->parse();
} catch (const Failure &) {