summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2012-11-20 14:14:32 +0100
committerMaxime Coste <frrrwww@gmail.com>2012-11-20 14:14:32 +0100
commit4dc333c8b3499088175d9a803a149ebefaef9d59 (patch)
tree8af504f050c0f8151010bc836c8a4cd808ee57cc /src
parent0ca66e3bf9470e28299b3c457733e6843d51a1c7 (diff)
minor cleanups
Diffstat (limited to 'src')
-rw-r--r--src/editor.hh1
-rw-r--r--src/filters.cc1
2 files changed, 0 insertions, 2 deletions
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<SelectionAndCaptures (const Selection&)> Selector;
typedef std::function<SelectionAndCapturesList (const Selection&)> 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())