1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-03-10 02:38:50 +00:00

Pacify gcc-4.3 (thinks IsConstant may be used

uninitialized).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@64220 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Duncan Sands 2009-02-10 16:24:55 +00:00
parent f0e366a929
commit 35b5107951

@ -331,8 +331,10 @@ bool LLParser::ParseGlobalType(bool &IsConstant) {
IsConstant = true; IsConstant = true;
else if (Lex.getKind() == lltok::kw_global) else if (Lex.getKind() == lltok::kw_global)
IsConstant = false; IsConstant = false;
else else {
IsConstant = false;
return TokError("expected 'global' or 'constant'"); return TokError("expected 'global' or 'constant'");
}
Lex.Lex(); Lex.Lex();
return false; return false;
} }