silence warning

llvm-svn: 39115
This commit is contained in:
Chris Lattner 2006-11-04 20:32:01 +00:00
parent 5d8f494c00
commit 301cd76b8c
1 changed files with 1 additions and 0 deletions

View File

@ -181,6 +181,7 @@ Parser::StmtResult Parser::ParseStatementOrDeclaration(bool OnlyStatement) {
Parser::StmtResult Parser::ParseIdentifierStatement(bool OnlyStatement) {
IdentifierInfo *II = Tok.getIdentifierInfo();
assert(Tok.getKind() == tok::identifier && II && "Not an identifier!");
II=II; // FIXME: SILENCE WARNING UNTIL THIS IS USED.
LexerToken IdentTok = Tok; // Save the whole token.
ConsumeToken(); // eat the identifier.