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(),
|
text.addChars(currentInput()->currentTokenStart(),
|
||||||
currentInput()->currentTokenLength(),
|
currentInput()->currentTokenLength(),
|
||||||
currentLocation());
|
currentLocation());
|
||||||
size_t nameMarkupIndex;
|
size_t nameMarkupIndex = 0;
|
||||||
if (currentMarkup())
|
if (currentMarkup())
|
||||||
nameMarkupIndex = currentMarkup()->size() - 1;
|
nameMarkupIndex = currentMarkup()->size() - 1;
|
||||||
text.subst(*syntax().generalSubstTable(), syntax().space());
|
text.subst(*syntax().generalSubstTable(), syntax().space());
|
||||||
|
|
|
@ -1993,7 +1993,7 @@ void Parser::translateRange(SdBuilder &sdBuilder, SyntaxChar start,
|
||||||
for (;;) {
|
for (;;) {
|
||||||
SyntaxChar doneUpTo = end;
|
SyntaxChar doneUpTo = end;
|
||||||
Boolean gotSwitch = 0;
|
Boolean gotSwitch = 0;
|
||||||
WideChar firstSwitch;
|
WideChar firstSwitch = '\0';
|
||||||
for (size_t i = 0; i < sdBuilder.switcher.nSwitches(); i++) {
|
for (size_t i = 0; i < sdBuilder.switcher.nSwitches(); i++) {
|
||||||
WideChar c = sdBuilder.switcher.switchFrom(i);
|
WideChar c = sdBuilder.switcher.switchFrom(i);
|
||||||
if (start <= c && c <= end) {
|
if (start <= c && c <= end) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue