changeset 15458:0f8065d7d68c v8.1.0737

patch 8.1.0737: compiler warning for uninitialized variable commit https://github.com/vim/vim/commit/e519dfd7139d504ada44031a986482ac4fb1229a Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jan 13 15:42:02 2019 +0100 patch 8.1.0737: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Add initialization. (John Marriott)
author Bram Moolenaar <Bram@vim.org>
date Sun, 13 Jan 2019 15:45:07 +0100
parents 0e0ff0e28cfe
children e9a83d4ac39c
files src/eval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/eval.c
+++ b/src/eval.c
@@ -4208,7 +4208,7 @@ eval7(
 		if (**arg == '0' && ((*arg)[1] == 'z' || (*arg)[1] == 'Z'))
 		{
 		    char_u  *bp;
-		    blob_T  *blob;
+		    blob_T  *blob = NULL;  // init for gcc
 
 		    // Blob constant: 0z0123456789abcdef
 		    if (evaluate)
--- a/src/version.c
+++ b/src/version.c
@@ -796,6 +796,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    737,
+/**/
     736,
 /**/
     735,