diff options
author | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-06-07 11:18:14 +0000 |
---|---|---|
committer | Zhongxing Xu <xuzhongxing@gmail.com> | 2009-06-07 11:18:14 +0000 |
commit | a106fea080c9a9fd50c9e5fc26b9752c43614639 (patch) | |
tree | 529c3807a9fa9625f0e31b2b1de963e769e182f2 /lib/Basic/SourceManager.cpp | |
parent | 8fff25719eb9363ac197ac4b375699a9afe9d36d (diff) | |
download | clang-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.cpp | 3 |
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. |