# HG changeset patch # User Bram Moolenaar # Date 1593465305 -7200 # Node ID bc81b275d4d6a7f82cd410c4779da2ef100309c4 # Parent 0768e80dc778f08ebb366ca28dbab44bc9168cd2 patch 8.2.1094: dead code in libvterm Commit: https://github.com/vim/vim/commit/a53618dd1dd91c7bb67b5dfc83dc29371b47f55b Author: Bram Moolenaar Date: Mon Jun 29 23:14:02 2020 +0200 patch 8.2.1094: dead code in libvterm Problem: Dead code in libvterm. Solution: Remove condition that is always true. diff --git a/src/libvterm/src/pen.c b/src/libvterm/src/pen.c --- a/src/libvterm/src/pen.c +++ b/src/libvterm/src/pen.c @@ -106,8 +106,7 @@ static int lookup_colour(const VTermStat } lookup_colour_palette(state, args[0], col); - - return argcount ? 1 : 0; + return 1; default: DEBUG_LOG1("Unrecognised colour palette %d\n", palette); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1094, +/**/ 1093, /**/ 1092,