changeset 11776:562fa0b252c5 v8.0.0770

patch 8.0.0770: compiler warning for missing field initializer commit https://github.com/vim/vim/commit/86067eb05ef01ff4acea9b006506b2b4abd3a3eb Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jul 24 23:05:35 2017 +0200 patch 8.0.0770: compiler warning for missing field initializer Problem: Compiler warning for missing field initializer. Solution: Add two more values. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Mon, 24 Jul 2017 23:15:04 +0200
parents 1bc36c29871d
children 22c7384b8a9e
files src/libvterm/src/encoding.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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 */
--- 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,