mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
nsgmls: Resolve uninitialized warnings
This commit is contained in:
parent
20e2618097
commit
ef10a4924c
2 changed files with 2 additions and 2 deletions
|
@ -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());
|
||||
|
|
|
@ -1993,7 +1993,7 @@ void Parser::translateRange(SdBuilder &sdBuilder, SyntaxChar start,
|
|||
for (;;) {
|
||||
SyntaxChar doneUpTo = end;
|
||||
Boolean gotSwitch = 0;
|
||||
WideChar firstSwitch;
|
||||
WideChar firstSwitch = '\0';
|
||||
for (size_t i = 0; i < sdBuilder.switcher.nSwitches(); i++) {
|
||||
WideChar c = sdBuilder.switcher.switchFrom(i);
|
||||
if (start <= c && c <= end) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue