0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0737: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable.
Solution:   Add initialization. (John Marriott)
This commit is contained in:
Bram Moolenaar
2019-01-13 15:42:02 +01:00
parent c0f5a78c15
commit e519dfd713
2 changed files with 3 additions and 1 deletions

View File

@@ -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)