aboutsummaryrefslogtreecommitdiff
path: root/lib/Serialization
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-03-21 19:47:38 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-03-21 19:47:38 +0000
commit0beab2746464ff7e871b2ec9c9b7fd9e8bc53494 (patch)
tree0e76436ac773a490974b596cfcb9866e169d3f5b /lib/Serialization
parent4c49f7b473b0158bb6e3534f70143132cc638ce8 (diff)
Remove unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@177657 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization')
-rw-r--r--lib/Serialization/ModuleManager.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Serialization/ModuleManager.cpp b/lib/Serialization/ModuleManager.cpp
index a9f4794e10..7384da5404 100644
--- a/lib/Serialization/ModuleManager.cpp
+++ b/lib/Serialization/ModuleManager.cpp
@@ -59,7 +59,6 @@ ModuleManager::addModule(StringRef FileName, ModuleKind Type,
}
// Check whether we already loaded this module, before
- AddModuleResult Result = AlreadyLoaded;
ModuleFile *&ModuleEntry = Modules[Entry];
bool NewModule = false;
if (!ModuleEntry) {
@@ -95,8 +94,6 @@ ModuleManager::addModule(StringRef FileName, ModuleKind Type,
// Initialize the stream
New->StreamFile.init((const unsigned char *)New->Buffer->getBufferStart(),
(const unsigned char *)New->Buffer->getBufferEnd());
-
- Result = NewlyLoaded;
}
if (ImportedBy) {