diff --git a/src/editor.hh b/src/editor.hh index 620b51e2..10239564 100644 --- a/src/editor.hh +++ b/src/editor.hh @@ -41,7 +41,6 @@ public: typedef std::function Selector; typedef std::function MultiSelector; - Editor(Buffer& buffer); virtual ~Editor() {} diff --git a/src/filters.cc b/src/filters.cc index d9fab000..9a2fcf28 100644 --- a/src/filters.cc +++ b/src/filters.cc @@ -74,7 +74,6 @@ struct RegexFilter if (boost::regex_match(content.c_str(), m_insert_match) and boost::regex_match(line_begin, position, results, m_line_match)) { - String suffix; content = results.format(m_replacement.c_str()); auto it = std::find(content.begin(), content.end(), '$'); if (it != content.end())