r206981 - Fix unused variable.

John Thompson John.Thompson.JTSoftware at gmail.com
Wed Apr 23 06:45:44 PDT 2014


Author: jtsoftware
Date: Wed Apr 23 08:45:44 2014
New Revision: 206981

URL: http://llvm.org/viewvc/llvm-project?rev=206981&view=rev
Log:
Fix unused variable.

Modified:
    cfe/trunk/lib/Frontend/CompilerInstance.cpp

Modified: cfe/trunk/lib/Frontend/CompilerInstance.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CompilerInstance.cpp?rev=206981&r1=206980&r2=206981&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CompilerInstance.cpp (original)
+++ cfe/trunk/lib/Frontend/CompilerInstance.cpp Wed Apr 23 08:45:44 2014
@@ -1449,7 +1449,7 @@ GlobalModuleIndex *CompilerInstance::loa
 				  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;
       }





More information about the cfe-commits mailing list