diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-06-29 23:14:02 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-06-29 23:14:02 +0200 |
commit | a53618dd1dd91c7bb67b5dfc83dc29371b47f55b (patch) | |
tree | 87e3ee93c6765b7aff9066322466ebf49c61ca56 /src/libvterm | |
parent | de19b745eee06a8a204988ae9989d97143caece9 (diff) | |
download | vim-git-a53618dd1dd91c7bb67b5dfc83dc29371b47f55b.tar.gz |
patch 8.2.1094: dead code in libvtermv8.2.1094
Problem: Dead code in libvterm.
Solution: Remove condition that is always true.
Diffstat (limited to 'src/libvterm')
-rw-r--r-- | src/libvterm/src/pen.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libvterm/src/pen.c b/src/libvterm/src/pen.c index 173f64f68..c5a0b71c5 100644 --- a/src/libvterm/src/pen.c +++ b/src/libvterm/src/pen.c @@ -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); |