[cfe-commits] r73027 - /cfe/trunk/lib/Basic/SourceManager.cpp

Zhongxing Xu xuzhongxing at gmail.com
Sun Jun 7 04:18:19 PDT 2009


Author: zhongxingxu
Date: Sun Jun  7 06:18:14 2009
New Revision: 73027

URL: http://llvm.org/viewvc/llvm-project?rev=73027&view=rev
Log:
Remove dead code: 'NewEntry' is not used.

Modified:
    cfe/trunk/lib/Basic/SourceManager.cpp

Modified: cfe/trunk/lib/Basic/SourceManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Basic/SourceManager.cpp?rev=73027&r1=73026&r2=73027&view=diff

==============================================================================
--- cfe/trunk/lib/Basic/SourceManager.cpp (original)
+++ cfe/trunk/lib/Basic/SourceManager.cpp Sun Jun  7 06:18:14 2009
@@ -347,9 +347,6 @@
                                    SrcMgr::CharacteristicKind FileCharacter,
                                    unsigned PreallocatedID,
                                    unsigned Offset) {
-  SLocEntry NewEntry = SLocEntry::get(NextOffset, 
-                                      FileInfo::get(IncludePos, File,
-                                                    FileCharacter));
   if (PreallocatedID) {
     // If we're filling in a preallocated ID, just load in the file
     // entry and return.





More information about the cfe-commits mailing list