From 53d5f452913a7cbbe1144929f554e9df88741cd7 Mon Sep 17 00:00:00 2001 From: John Thompson Date: Wed, 23 Apr 2014 13:45:44 +0000 Subject: [PATCH] Fix unused variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206981 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Frontend/CompilerInstance.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1