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 | 8de30ffa2b60dbc672c0f3bcdaa07a8efcc3bcf8 (patch) | |
tree | 73f8330eb3f41534f8fee84e4d9931b53cc7bd21 | |
parent | 020f1ed8a97a630780f6aca8a6d6515ca7717ea9 (diff) |
Fix unused variable warning.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99021 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | tools/CIndex/CIndex.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/CIndex/CIndex.cpp b/tools/CIndex/CIndex.cpp index 08882168ff..1000818692 100644 --- a/tools/CIndex/CIndex.cpp +++ b/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; |