mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Initialize cycle_cursor_pos.
This removes the warning from compiler.
This commit is contained in:
parent
097e2030b4
commit
da89591a53
1 changed files with 1 additions and 1 deletions
|
@ -3020,7 +3020,7 @@ const wchar_t *reader_readline(void)
|
|||
|
||||
/* The command line before completion */
|
||||
wcstring cycle_command_line;
|
||||
size_t cycle_cursor_pos;
|
||||
size_t cycle_cursor_pos = 0;
|
||||
|
||||
data->search_buff.clear();
|
||||
data->search_mode = NO_SEARCH;
|
||||
|
|
Loading…
Reference in a new issue