[cfe-commits] r146034 - /cfe/trunk/lib/Serialization/ASTReader.cpp

Benjamin Kramer benny.kra at googlemail.com
Wed Dec 7 04:50:05 PST 2011


Author: d0k
Date: Wed Dec  7 06:50:05 2011
New Revision: 146034

URL: http://llvm.org/viewvc/llvm-project?rev=146034&view=rev
Log:
Remove unused-but-set variable.

Modified:
    cfe/trunk/lib/Serialization/ASTReader.cpp

Modified: cfe/trunk/lib/Serialization/ASTReader.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ASTReader.cpp?rev=146034&r1=146033&r2=146034&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ASTReader.cpp (original)
+++ cfe/trunk/lib/Serialization/ASTReader.cpp Wed Dec  7 06:50:05 2011
@@ -3009,7 +3009,6 @@
   bool First = true;
   Module *CurrentModule = 0;
   RecordData Record;
-  SubmoduleID CurrentModuleGlobalIndex = 0;
   while (true) {
     unsigned Code = F.Stream.ReadCode();
     if (Code == llvm::bitc::END_BLOCK) {
@@ -3138,7 +3137,6 @@
       First = false;
       
       F.BaseSubmoduleID = getTotalNumSubmodules();
-      CurrentModuleGlobalIndex = F.BaseSubmoduleID;
       F.LocalNumSubmodules = Record[0];
       unsigned LocalBaseSubmoduleID = Record[1];
       if (F.LocalNumSubmodules > 0) {





More information about the cfe-commits mailing list