diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-13 15:42:02 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-13 15:42:02 +0100 |
commit | e519dfd7139d504ada44031a986482ac4fb1229a (patch) | |
tree | f187c89f515f09dce26355448cb1e39f415199c2 /src | |
parent | c0f5a78c15b194f23bedb82e6825e34f481e6532 (diff) | |
download | vim-git-e519dfd7139d504ada44031a986482ac4fb1229a.tar.gz |
patch 8.1.0737: compiler warning for uninitialized variablev8.1.0737
Problem: Compiler warning for uninitialized variable.
Solution: Add initialization. (John Marriott)
Diffstat (limited to 'src')
-rw-r--r-- | src/eval.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 78e4eae15..993a5bc73 100644 --- 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) diff --git a/src/version.c b/src/version.c index 643830a67..9f4bbfce7 100644 --- 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, |