diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-01-05 16:16:41 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-01-05 16:16:41 +0100 |
| commit | a94b52f7970ea5e6aa68fc5f5aa6c7de7884c7c7 (patch) | |
| tree | f6b888aff23ff6dc0b859f87800db641546d231f /vis-prompt.c | |
| parent | e0b1a90ea831c4ebc184c3636ae9494a7675d82b (diff) | |
| download | vis-a94b52f7970ea5e6aa68fc5f5aa6c7de7884c7c7.tar.gz vis-a94b52f7970ea5e6aa68fc5f5aa6c7de7884c7c7.tar.xz | |
vis: remove now unused variable in prompt handling code
Diffstat (limited to 'vis-prompt.c')
| -rw-r--r-- | vis-prompt.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |
