From: Bram Moolenaar Date: Mon, 24 Jul 2017 21:05:35 +0000 (+0200) Subject: patch 8.0.0770: compiler warning for missing field initializer X-Git-Tag: v8.0.0770 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=86067eb05ef01ff4acea9b006506b2b4abd3a3eb;p=vim patch 8.0.0770: compiler warning for missing field initializer Problem: Compiler warning for missing field initializer. Solution: Add two more values. (Yegappan Lakshmanan) --- 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 @@ -769,6 +769,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 770, /**/ 769, /**/