remove unused variable changes_tracker

This commit is contained in:
Jean Abed 2020-12-22 21:31:11 +11:00
parent 74b6c20a0d
commit 650a7143be

View File

@ -421,7 +421,6 @@ void InsertCompleter::select(int index, bool relative, Vector<Key>& keystrokes)
const auto suffix_len = std::max(0_byte, buffer.distance(cursor_pos, m_completions.end)); const auto suffix_len = std::max(0_byte, buffer.distance(cursor_pos, m_completions.end));
auto ref = buffer.string(m_completions.begin, m_completions.end); auto ref = buffer.string(m_completions.begin, m_completions.end);
ForwardChangesTracker changes_tracker;
Vector<BufferRange> ranges; Vector<BufferRange> ranges;
for (auto& sel : selections) for (auto& sel : selections)
{ {