0
0
mirror of https://github.com/vim/vim.git synced 2025-07-04 23:07:33 -04:00

patch 8.2.1094: dead code in libvterm

Problem:    Dead code in libvterm.
Solution:   Remove condition that is always true.
This commit is contained in:
Bram Moolenaar 2020-06-29 23:14:02 +02:00
parent de19b745ee
commit a53618dd1d
2 changed files with 3 additions and 2 deletions

View File

@ -106,8 +106,7 @@ static int lookup_colour(const VTermState *state, int palette, const long args[]
}
lookup_colour_palette(state, args[0], col);
return argcount ? 1 : 0;
return 1;
default:
DEBUG_LOG1("Unrecognised colour palette %d\n", palette);

View File

@ -754,6 +754,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1094,
/**/
1093,
/**/