Fix unused variable warning.
llvm-svn: 99021
diff --git a/clang/tools/CIndex/CIndex.cpp b/clang/tools/CIndex/CIndex.cpp
index 0888216..1000818 100644
--- a/clang/tools/CIndex/CIndex.cpp
+++ b/clang/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;