Skip to content
Snippets Groups Projects
Commit 90db74c3 authored by Chris Lattner's avatar Chris Lattner
Browse files

fix an uninitialized variable, patch by Michael Spencer!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@106025 91177308-0d34-0410-b5e6-96231b3b80d8
parent 37dd3ecb
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment