mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 21:18:34 +00:00
clang/scan-build: fix dead stores #11900
This commit is contained in:
@@ -574,10 +574,8 @@ static int insert_check(VimState *state)
|
||||
foldCheckClose();
|
||||
}
|
||||
|
||||
int cmdchar_todo = s->cmdchar;
|
||||
if (bt_prompt(curbuf)) {
|
||||
init_prompt(cmdchar_todo);
|
||||
cmdchar_todo = NUL;
|
||||
init_prompt(s->cmdchar);
|
||||
}
|
||||
|
||||
// If we inserted a character at the last position of the last line in the
|
||||
|
Reference in New Issue
Block a user