summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Frontend/CompilerInstance.cpp')
-rw-r--r--lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp
index f06633ca51..79b96ab689 100644
--- a/lib/Frontend/CompilerInstance.cpp
+++ b/lib/Frontend/CompilerInstance.cpp
@@ -1449,7 +1449,7 @@ GlobalModuleIndex *CompilerInstance::loadGlobalModuleIndex(
getPreprocessor().getIdentifierInfo(TheModule->Name), TriggerLoc));
std::reverse(Path.begin(), Path.end());
// Load a module as hidden. This also adds it to the global index.
- ModuleLoadResult Result = loadModule(TheModule->DefinitionLoc, Path,
+ loadModule(TheModule->DefinitionLoc, Path,
Module::Hidden, false);
RecreateIndex = true;
}