1
0
forked from aniani/vim

patch 8.2.1884: compiler warning for uninitialized variable

Problem:    Compiler warning for uninitialized variable. (John Marriott)
Solution:   Initialize with NULL.
This commit is contained in:
Bram Moolenaar
2020-10-22 12:31:49 +02:00
parent 4ce5fe4c87
commit a1224cb706
3 changed files with 9 additions and 1 deletions

View File

@@ -1460,7 +1460,7 @@ generate_BCALL(cctx_T *cctx, int func_idx, int argcount, int method_call)
isn_T *isn;
garray_T *stack = &cctx->ctx_type_stack;
int argoff;
type_T **argtypes;
type_T **argtypes = NULL;
RETURN_OK_IF_SKIP(cctx);
argoff = check_internal_func(func_idx, argcount);