summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-03-20 01:11:56 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-03-20 01:11:56 +0000
commitaef1db1d714d2680a9d05bc58e60f3c85437b953 (patch)
tree76cadc9beac9afa0d90c6ef1296425fe5a510e30
parent33124e20c752d990ea856d007007ebf50e12922a (diff)
downloadbcm5719-llvm-aef1db1d714d2680a9d05bc58e60f3c85437b953.tar.gz
bcm5719-llvm-aef1db1d714d2680a9d05bc58e60f3c85437b953.zip
Fix unused variable warning.
llvm-svn: 99021
-rw-r--r--clang/tools/CIndex/CIndex.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/tools/CIndex/CIndex.cpp b/clang/tools/CIndex/CIndex.cpp
index 08882168ffe..1000818692a 100644
--- a/clang/tools/CIndex/CIndex.cpp
+++ b/clang/tools/CIndex/CIndex.cpp
@@ -457,8 +457,7 @@ bool CursorVisitor::VisitChildren(CXCursor Cursor) {
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;
OpenPOWER on IntegriCloud