diff options
Diffstat (limited to 'src/readline.c')
| -rw-r--r-- | src/readline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readline.c b/src/readline.c index bda4df9..f03bbdb 100644 --- a/src/readline.c +++ b/src/readline.c @@ -24,7 +24,6 @@ static struct aplwc *aplwc; static char **completions; -static int completion_index; static char **complete(const char *, int, int); static char *get_completion(const char *, int); @@ -52,5 +51,6 @@ complete(const char *text, int start, int end) static char * get_completion(const char *text, int state) { + (void)text; return completions[state]; } |