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/eval.c | |
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/eval.c')
-rw-r--r-- | src/eval.c | 2 |
1 files changed, 1 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) |