diff --git a/src/selection.cc b/src/selection.cc index 232b6f6a..3b8f3d6f 100644 --- a/src/selection.cc +++ b/src/selection.cc @@ -547,7 +547,6 @@ String selection_to_string(const Selection& selection) String selection_list_to_string(const SelectionList& selections) { - const auto& buffer = selections.buffer(); return join(transformed(selections, [](const Selection& s) { return selection_to_string(s); }), ':', false);