vim-patch:8.0.1528: dead code found

Problem:    Dead code found.
Solution:   Remove the useless lines. (CodeAi, closes vim/vim#2656)
81226e0310
This commit is contained in:
Jan Edmund Lazo 2019-03-26 23:46:14 -04:00
parent 281c011d44
commit c95fdcd127

View File

@ -6371,14 +6371,12 @@ void grid_del_lines(ScreenGrid *grid, int row, int line_count, int end, int col,
} }
/* // 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 TRUE, clear the rest of the cmdline. // If clear_cmdline is FALSE there may be a message there that needs to be
* If clear_cmdline is FALSE there may be a message there that needs to be // cleared only if a mode is shown.
* cleared only if a mode is shown. // Return the length of the message (0 if no message).
* Return the length of the message (0 if no message).
*/
int showmode(void) int showmode(void)
{ {
int need_clear; int need_clear;