fix an uninitialized variable, patch by Michael Spencer!

llvm-svn: 106025
This commit is contained in:
Chris Lattner 2010-06-15 18:55:23 +00:00
parent c964585ff8
commit 4e18a2bc97
1 changed files with 2 additions and 0 deletions

View File

@ -394,6 +394,8 @@ static void PrintPreprocessedTokens(Preprocessor &PP, Token &Tok,
char Buffer[256];
Token PrevPrevTok;
Token PrevTok;
PrevPrevTok.setKind(tok::unknown);
PrevTok.setKind(tok::unknown);
while (1) {
// If this token is at the start of a line, emit newlines if needed.