vis
a vi-like editor based on Plan 9's structural regular expressions
git clone https://9o.is/git/vis.git
commit 642249e10ef9ed18b902d656ae797bcabaf8b6b8 parent 0db1b0a1ad44874d314359ae8ff591c7474e13f0 Author: Marc André Tanner <mat@brain-dump.org> Date: Fri, 5 Jan 2018 16:16:41 +0100 vis: remove now unused variable in prompt handling code Diffstat:
| M | vis-prompt.c | | | 1 | - |
1 file changed, 0 insertions(+), 1 deletion(-)
diff --git 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)