From: Daniel Dunbar Date: Sat, 20 Mar 2010 01:11:56 +0000 (+0000) Subject: Fix unused variable warning. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8de30ffa2b60dbc672c0f3bcdaa07a8efcc3bcf8;p=clang Fix unused variable warning. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99021 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;