summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfsub <31548809+fsub@users.noreply.github.com>2018-03-03 17:57:51 +0100
committerfsub <31548809+fsub@users.noreply.github.com>2018-03-03 17:57:51 +0100
commit44d381ce7952feffd556b16bb8f1cd5f9a1485e6 (patch)
tree76ef9e5deec06d73ebf097efc698c79f51c15fa4 /src
parent7a54c0edfe36a0a3fb428cfee211a3f87cf4f7a2 (diff)
Remove unused lambda capture
Diffstat (limited to 'src')
-rw-r--r--src/normal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.cc b/src/normal.cc
index 176f8c0c..882c3986 100644
--- a/src/normal.cc
+++ b/src/normal.cc
@@ -1017,7 +1017,7 @@ void keep(Context& context, NormalParams params)
const int main_index = std::min(context.selections().main_index(), saved_reg.size()-1);
regex_prompt(context, prompt.str(), saved_reg[main_index],
- [saved_reg, reg, main_index]
+ [saved_reg, reg]
(const Regex& regex, PromptEvent event, Context& context) {
if (event == PromptEvent::Abort)