ex_getln: Silent V519: value is assigned twice successively

This is usual “passing data via global” false positive.
This commit is contained in:
ZyX
2017-07-04 16:24:48 +03:00
parent c930f32ab9
commit 1f05ec95c0

View File

@@ -306,7 +306,7 @@ static uint8_t *command_line_enter(int firstc, long count, int indent)
curwin->w_cursor = s->save_cursor;
setpcmark();
}
curwin->w_cursor = s->search_start;
curwin->w_cursor = s->search_start; // -V519
}
curwin->w_curswant = s->old_curswant;
curwin->w_leftcol = s->old_leftcol;