forked from OSchip/llvm-project
fix an uninitialized variable, patch by Michael Spencer!
llvm-svn: 106025
This commit is contained in:
parent
c964585ff8
commit
4e18a2bc97
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue