[clangd] Remove dead code from BackgroundIndex

llvm-svn: 366468
This commit is contained in:
Kadir Cetinkaya 2019-07-18 17:25:57 +00:00
parent 006d1915e2
commit cfa14ac2a7
1 changed files with 0 additions and 3 deletions

View File

@ -509,9 +509,6 @@ BackgroundIndex::loadProject(std::vector<std::string> MainFiles) {
auto Cmd = CDB.getCompileCommand(TU);
if (!Cmd)
continue;
std::string ProjectRoot;
if (auto PI = CDB.getProjectInfo(TU))
ProjectRoot = std::move(PI->SourceRoot);
NeedsReIndexing.emplace_back(std::move(*Cmd));
}