summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-07-24 23:05:35 +0200
committerBram Moolenaar <Bram@vim.org>2017-07-24 23:05:35 +0200
commit86067eb05ef01ff4acea9b006506b2b4abd3a3eb (patch)
treea94774ad80159137d304bf9b11aefd85a5d3c163
parent8a77306fa170f9d95f2402e73b4a94a2692ce84f (diff)
downloadvim-git-8.0.0770.tar.gz
patch 8.0.0770: compiler warning for missing field initializerv8.0.0770
Problem: Compiler warning for missing field initializer. Solution: Add two more values. (Yegappan Lakshmanan)
-rw-r--r--src/libvterm/src/encoding.c2
-rw-r--r--src/version.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/libvterm/src/encoding.c b/src/libvterm/src/encoding.c
index d47485ac3..b37a08c3f 100644
--- a/src/libvterm/src/encoding.c
+++ b/src/libvterm/src/encoding.c
@@ -218,7 +218,7 @@ encodings[] = {
{ ENC_SINGLE_94, '0', (VTermEncoding*)&encoding_DECdrawing },
{ ENC_SINGLE_94, 'A', (VTermEncoding*)&encoding_uk },
{ ENC_SINGLE_94, 'B', &encoding_usascii },
- { 0 },
+ { 0, 0, NULL },
};
/* This ought to be INTERNAL but isn't because it's used by unit testing */
diff --git a/src/version.c b/src/version.c
index 2c0a53b58..44e4404c1 100644
--- a/src/version.c
+++ b/src/version.c
@@ -770,6 +770,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 770,
+/**/
769,
/**/
768,