nsgmls: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins
2021-12-22 01:13:28 +00:00
committed by Jon Trulson
parent 20e2618097
commit ef10a4924c
2 changed files with 2 additions and 2 deletions

View File

@@ -53,7 +53,7 @@ Boolean Parser::parseAttributeSpec(Boolean inDecl,
text.addChars(currentInput()->currentTokenStart(),
currentInput()->currentTokenLength(),
currentLocation());
size_t nameMarkupIndex;
size_t nameMarkupIndex = 0;
if (currentMarkup())
nameMarkupIndex = currentMarkup()->size() - 1;
text.subst(*syntax().generalSubstTable(), syntax().space());