Fix unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99021 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp
index 0888216..1000818 100644
--- a/tools/CIndex/CIndex.cpp
+++ b/tools/CIndex/CIndex.cpp
@@ -457,8 +457,7 @@
return true;
// Walk the preprocessing record.
- if (PreprocessingRecord *PPRec
- = CXXUnit->getPreprocessor().getPreprocessingRecord()) {
+ if (CXXUnit->getPreprocessor().getPreprocessingRecord()) {
// FIXME: Once we have the ability to deserialize a preprocessing record,
// do so.
PreprocessingRecord::iterator E, EEnd;