Remove unused function

This commit is contained in:
Jacob Dufault 2017-08-18 10:26:05 -07:00
parent 3f44307268
commit 6cdb7c66e1

View File

@ -200,16 +200,6 @@ bool FindFileOrFail(QueryDatabase* db, lsRequestId id, const std::string& absolu
return false;
}
QueryFile* FindFile(QueryDatabase* db, const std::string& absolute_path) {
auto it = db->usr_to_file.find(LowerPathIfCaseInsensitive(absolute_path));
if (it != db->usr_to_file.end()) {
optional<QueryFile>& file = db->files[it->second.id];
if (file)
return &file.value();
}
return nullptr;
}
void PublishInactiveLines(WorkingFile* working_file, const std::vector<Range>& inactive) {
Out_CquerySetInactiveRegion out;