r177657 - Remove unused variable.
Benjamin Kramer
benny.kra at googlemail.com
Thu Mar 21 12:47:38 PDT 2013
Author: d0k
Date: Thu Mar 21 14:47:38 2013
New Revision: 177657
URL: http://llvm.org/viewvc/llvm-project?rev=177657&view=rev
Log:
Remove unused variable.
Modified:
cfe/trunk/lib/Serialization/ModuleManager.cpp
Modified: cfe/trunk/lib/Serialization/ModuleManager.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Serialization/ModuleManager.cpp?rev=177657&r1=177656&r2=177657&view=diff
==============================================================================
--- cfe/trunk/lib/Serialization/ModuleManager.cpp (original)
+++ cfe/trunk/lib/Serialization/ModuleManager.cpp Thu Mar 21 14:47:38 2013
@@ -59,7 +59,6 @@ ModuleManager::addModule(StringRef FileN
}
// 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 FileN
// Initialize the stream
New->StreamFile.init((const unsigned char *)New->Buffer->getBufferStart(),
(const unsigned char *)New->Buffer->getBufferEnd());
-
- Result = NewlyLoaded;
}
if (ImportedBy) {
More information about the cfe-commits
mailing list