[cfe-commits] r99021 - /cfe/trunk/tools/CIndex/CIndex.cpp

Daniel Dunbar daniel at zuster.org
Fri Mar 19 18:11:56 PDT 2010


Author: ddunbar
Date: Fri Mar 19 20:11:56 2010
New Revision: 99021

URL: http://llvm.org/viewvc/llvm-project?rev=99021&view=rev
Log:
Fix unused variable warning.

Modified:
    cfe/trunk/tools/CIndex/CIndex.cpp

Modified: cfe/trunk/tools/CIndex/CIndex.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/CIndex/CIndex.cpp?rev=99021&r1=99020&r2=99021&view=diff
==============================================================================
--- cfe/trunk/tools/CIndex/CIndex.cpp (original)
+++ cfe/trunk/tools/CIndex/CIndex.cpp Fri Mar 19 20:11:56 2010
@@ -457,8 +457,7 @@
       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;





More information about the cfe-commits mailing list