From 90db74c361f16de5f22c53358ed48797bc4888fc Mon Sep 17 00:00:00 2001
From: Chris Lattner <sabre@nondot.org>
Date: Tue, 15 Jun 2010 18:55:23 +0000
Subject: [PATCH] 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
---
 lib/Frontend/PrintPreprocessedOutput.cpp | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/Frontend/PrintPreprocessedOutput.cpp b/lib/Frontend/PrintPreprocessedOutput.cpp
index 80e697daa0d..b5bbd52dbd7 100644
--- a/lib/Frontend/PrintPreprocessedOutput.cpp
+++ b/lib/Frontend/PrintPreprocessedOutput.cpp
@@ -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.
-- 
GitLab