]> granicus.if.org Git - clang/commitdiff
Fix unused variable.
authorJohn Thompson <John.Thompson.JTSoftware@gmail.com>
Wed, 23 Apr 2014 13:45:44 +0000 (13:45 +0000)
committerJohn Thompson <John.Thompson.JTSoftware@gmail.com>
Wed, 23 Apr 2014 13:45:44 +0000 (13:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206981 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInstance.cpp

index f06633ca51106c8194581b3eecc5ae6c8e8b850d..79b96ab6890657a5e1c3cb4af5ac6ccb68280ec1 100644 (file)
@@ -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;
       }