From a94b52f7970ea5e6aa68fc5f5aa6c7de7884c7c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Fri, 5 Jan 2018 16:16:41 +0100 Subject: vis: remove now unused variable in prompt handling code --- vis-prompt.c | 1 - 1 file changed, 1 deletion(-) diff --git a/vis-prompt.c b/vis-prompt.c index 2a71441..a0c4983 100644 --- a/vis-prompt.c +++ b/vis-prompt.c @@ -64,7 +64,6 @@ static const char *prompt_enter(Vis *vis, const char *keys, const Arg *arg) { else if (prompt->file == vis->search_file) pattern = "^(/|\\?)"; if (pattern && regex && text_regex_compile(regex, pattern, REG_EXTENDED|REG_NEWLINE) == 0) { - char c; size_t end = text_line_end(txt, pos); size_t prev = text_search_backward(txt, end, regex); if (prev > pos) -- cgit v1.2.3