Fix unused variable.
llvm-svn: 206981
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index f06633c..79b96ab 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -1449,7 +1449,7 @@
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;
}