mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Fix warnings: screen.c: showmode(): Dead assignment: HI.
Problem: Dead assignment @ 7535. http://neovim.org/doc/reports/clang/report-19a5cd.html#EndPath Diagnostic: Harmless issue. Rationale : `length = msg_col;` is unconditionally executed after this. Resolution: Remove assignment.
This commit is contained in:
parent
04b4658978
commit
cc996e748d
@ -7534,7 +7534,6 @@ int showmode(void)
|
|||||||
msg_puts_attr(edit_submode_extra, sub_attr);
|
msg_puts_attr(edit_submode_extra, sub_attr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
length = 0;
|
|
||||||
} else {
|
} else {
|
||||||
if (State & VREPLACE_FLAG)
|
if (State & VREPLACE_FLAG)
|
||||||
MSG_PUTS_ATTR(_(" VREPLACE"), attr);
|
MSG_PUTS_ATTR(_(" VREPLACE"), attr);
|
||||||
|
Loading…
Reference in New Issue
Block a user