Remove unused variable.

llvm-svn: 177657
This commit is contained in:
Benjamin Kramer
2013-03-21 19:47:38 +00:00
parent 5fbe2629ff
commit 3d0235e16e

View File

@@ -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) {