diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-20 01:11:56 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-20 01:11:56 +0000 |
commit | aef1db1d714d2680a9d05bc58e60f3c85437b953 (patch) | |
tree | 76cadc9beac9afa0d90c6ef1296425fe5a510e30 | |
parent | 33124e20c752d990ea856d007007ebf50e12922a (diff) | |
download | bcm5719-llvm-aef1db1d714d2680a9d05bc58e60f3c85437b953.tar.gz bcm5719-llvm-aef1db1d714d2680a9d05bc58e60f3c85437b953.zip |
Fix unused variable warning.
llvm-svn: 99021
-rw-r--r-- | clang/tools/CIndex/CIndex.cpp | 3 |
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; |