summaryrefslogtreecommitdiff
path: root/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorZhongxing Xu <xuzhongxing@gmail.com>2009-06-07 11:18:14 +0000
committerZhongxing Xu <xuzhongxing@gmail.com>2009-06-07 11:18:14 +0000
commita106fea080c9a9fd50c9e5fc26b9752c43614639 (patch)
tree529c3807a9fa9625f0e31b2b1de963e769e182f2 /lib/Basic/SourceManager.cpp
parent8fff25719eb9363ac197ac4b375699a9afe9d36d (diff)
downloadclang-a106fea080c9a9fd50c9e5fc26b9752c43614639.tar.gz
Remove dead code: 'NewEntry' is not used.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73027 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Basic/SourceManager.cpp')
-rw-r--r--lib/Basic/SourceManager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Basic/SourceManager.cpp b/lib/Basic/SourceManager.cpp
index 7d2d0ae172..ed5eb46c28 100644
--- a/lib/Basic/SourceManager.cpp
+++ b/lib/Basic/SourceManager.cpp
@@ -347,9 +347,6 @@ FileID SourceManager::createFileID(const ContentCache *File,
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.