Initialize cycle_cursor_pos.

This removes the warning from compiler.
This commit is contained in:
Konrad Borowski 2013-08-29 13:06:04 +02:00
parent 097e2030b4
commit da89591a53

View file

@ -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;