summaryrefslogtreecommitdiff
path: root/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>2014-04-23 13:45:44 +0000
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>2014-04-23 13:45:44 +0000
commit53d5f452913a7cbbe1144929f554e9df88741cd7 (patch)
treed484db1de8257bd256464b9a189b447e0de8d881 /lib/Frontend/CompilerInstance.cpp
parentd2f62fa5de05e1c248c0f45e352732385b0f2f7a (diff)
downloadclang-53d5f452913a7cbbe1144929f554e9df88741cd7.tar.gz
clang-53d5f452913a7cbbe1144929f554e9df88741cd7.tar.bz2
clang-53d5f452913a7cbbe1144929f554e9df88741cd7.tar.xz
Fix unused variable.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206981 91177308-0d34-0410-b5e6-96231b3b80d8
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;
}