diff options
author | Konrad Borowski <glitchmr@myopera.com> | 2013-08-29 13:06:04 +0200 |
---|---|---|
committer | Konrad Borowski <glitchmr@myopera.com> | 2013-08-29 13:06:04 +0200 |
commit | da89591a5311b8e7fad6404e0fb0530a6e720613 (patch) | |
tree | 8a7c35e1d432fc5748a867abbb1f6f998cc2e820 | |
parent | 097e2030b4afcc5bab3cfdd4173b51462af85559 (diff) |
Initialize cycle_cursor_pos.
This removes the warning from compiler.
-rw-r--r-- | reader.cpp | 2 |
1 files changed, 1 insertions, 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; |