diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-04 15:41:41 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2014-11-06 09:51:43 +0100 |
commit | cc996e748db6d367aacea0fbe985f5568c5d9909 (patch) | |
tree | 4faaf5003eed0e47d05f85ecdf763a22f8941cfa | |
parent | 04b4658978fd6e34d2c8e018bd58a9f74880d4be (diff) | |
download | rneovim-cc996e748db6d367aacea0fbe985f5568c5d9909.tar.gz rneovim-cc996e748db6d367aacea0fbe985f5568c5d9909.tar.bz2 rneovim-cc996e748db6d367aacea0fbe985f5568c5d9909.zip |
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.
-rw-r--r-- | src/nvim/screen.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 52b0cf3c29..439fe14e86 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -7534,7 +7534,6 @@ int showmode(void) msg_puts_attr(edit_submode_extra, sub_attr); } } - length = 0; } else { if (State & VREPLACE_FLAG) MSG_PUTS_ATTR(_(" VREPLACE"), attr); |