mirror of
https://github.com/neovim/neovim.git
synced 2025-09-21 02:38:19 +00:00
misc1.c: remove dead initialization
This commit is contained in:
@@ -1405,7 +1405,6 @@ void ins_char_bytes(char_u *buf, size_t charlen)
|
|||||||
coladvance_force(getviscol());
|
coladvance_force(getviscol());
|
||||||
}
|
}
|
||||||
|
|
||||||
int c = buf[0];
|
|
||||||
size_t col = (size_t)curwin->w_cursor.col;
|
size_t col = (size_t)curwin->w_cursor.col;
|
||||||
linenr_T lnum = curwin->w_cursor.lnum;
|
linenr_T lnum = curwin->w_cursor.lnum;
|
||||||
char_u *oldp = ml_get(lnum);
|
char_u *oldp = ml_get(lnum);
|
||||||
@@ -1498,10 +1497,7 @@ void ins_char_bytes(char_u *buf, size_t charlen)
|
|||||||
&& msg_silent == 0
|
&& msg_silent == 0
|
||||||
&& !ins_compl_active()
|
&& !ins_compl_active()
|
||||||
) {
|
) {
|
||||||
if (has_mbyte)
|
|
||||||
showmatch(mb_ptr2char(buf));
|
showmatch(mb_ptr2char(buf));
|
||||||
else
|
|
||||||
showmatch(c);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!p_ri || (State & REPLACE_FLAG)) {
|
if (!p_ri || (State & REPLACE_FLAG)) {
|
||||||
|
Reference in New Issue
Block a user