mirror of
https://github.com/neovim/neovim.git
synced 2025-09-24 12:08:33 +00: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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user