Mercurial > vim
diff src/screen.c @ 13308:ae312df8d0ab v8.0.1528
patch 8.0.1528: dead code found
commit https://github.com/vim/vim/commit/81226e03102dd00b7cdce0e00775e1e30462f9a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Feb 20 21:44:45 2018 +0100
patch 8.0.1528: dead code found
Problem: Dead code found.
Solution: Remove the useless lines. (CodeAi, closes https://github.com/vim/vim/issues/2656)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 20 Feb 2018 21:45:05 +0100 |
parents | c42fe898b578 |
children | 65c3e8259124 |
line wrap: on
line diff
--- a/src/screen.c +++ b/src/screen.c @@ -10182,7 +10182,7 @@ screen_del_lines( } /* - * show the current mode and ruler + * Show the current mode and ruler. * * If clear_cmdline is TRUE, clear the rest of the cmdline. * If clear_cmdline is FALSE there may be a message there that needs to be @@ -10291,7 +10291,6 @@ showmode(void) msg_puts_attr(edit_submode_extra, sub_attr); } } - length = 0; } else #endif