From: David Blaikie Date: Tue, 1 May 2012 19:49:38 +0000 (+0000) Subject: Remove variables made dead by r155923 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f720a2bd5ac2130852a67b4ec1d79ed8f4d7f43e;p=clang Remove variables made dead by r155923 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 --- diff --git a/lib/Frontend/CompilerInstance.cpp b/lib/Frontend/CompilerInstance.cpp index 22b38c1206..6f366725d9 100644 --- a/lib/Frontend/CompilerInstance.cpp +++ b/lib/Frontend/CompilerInstance.cpp @@ -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;