]> granicus.if.org Git - vim/commitdiff
patch 8.0.0770: compiler warning for missing field initializer v8.0.0770
authorBram Moolenaar <Bram@vim.org>
Mon, 24 Jul 2017 21:05:35 +0000 (23:05 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 24 Jul 2017 21:05:35 +0000 (23:05 +0200)
Problem:    Compiler warning for missing field initializer.
Solution:   Add two more values. (Yegappan Lakshmanan)

src/libvterm/src/encoding.c
src/version.c

index d47485ac30063bb73d4aea1c920ea1736322f94e..b37a08c3f1f4042216aeb9cefd8e3d1b2c9293a0 100644 (file)
@@ -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 */
index 2c0a53b58ecea50daa52e8046dedf76b6120dc0c..44e4404c11c18898b15fc0e1b63d45c348d420c6 100644 (file)
@@ -769,6 +769,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    770,
 /**/
     769,
 /**/