build/MSVC: TUI: Fix uninitialized variable

closes #8459
This commit is contained in:
b-r-o-c-k 2018-05-17 21:02:13 -05:00 committed by Justin M. Keyes
parent a93690bceb
commit 611e379685

View File

@ -849,7 +849,7 @@ CursorShape tui_cursor_decode_shape(const char *shape_str)
static cursorentry_T decode_cursor_entry(Dictionary args)
{
cursorentry_T r;
cursorentry_T r = shape_table[0];
for (size_t i = 0; i < args.size; i++) {
char *key = args.items[i].key.data;