From 8de30ffa2b60dbc672c0f3bcdaa07a8efcc3bcf8 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 20 Mar 2010 01:11:56 +0000 Subject: [PATCH] Fix unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99021 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/CIndex/CIndex.cpp | 3 +-- 1 file changed, 1 insertion(+), 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; -- 2.50.1