]> granicus.if.org Git - clang/commitdiff
Remove variables made dead by r155923
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 1 May 2012 19:49:38 +0000 (19:49 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 1 May 2012 19:49:38 +0000 (19:49 +0000)
This makes Clang's build warning free again.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@155928 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Frontend/CompilerInstance.cpp

index 22b38c120606e44ffd4cec6328fd9ced503c06e2..6f366725d99a8cd7f95ff7dbbdea1bf47254d0de 100644 (file)
@@ -859,8 +859,6 @@ Module *CompilerInstance::loadModule(SourceLocation ImportLoc,
   }
   
   // Determine what file we're searching from.
-  SourceManager &SourceMgr = getSourceManager();
-  SourceLocation ExpandedImportLoc = SourceMgr.getExpansionLoc(ImportLoc);
   StringRef ModuleName = Path[0].first->getName();
   SourceLocation ModuleNameLoc = Path[0].second;