mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4995: still a compiler warning for possibly uninitialized variable
Problem: Still a compiler warning for possibly uninitialized variable. (Tony Mechelynck) Solution: Initialize variables.
This commit is contained in:
@@ -734,6 +734,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4995,
|
||||
/**/
|
||||
4994,
|
||||
/**/
|
||||
|
@@ -6279,8 +6279,8 @@ ex_disassemble(exarg_T *eap)
|
||||
char_u *arg = eap->arg;
|
||||
ufunc_T *ufunc;
|
||||
dfunc_T *dfunc;
|
||||
isn_T *instr;
|
||||
int instr_count;
|
||||
isn_T *instr = NULL; // init to shut up gcc warning
|
||||
int instr_count = 0; // init to shut up gcc warning
|
||||
compiletype_T compile_type = CT_NONE;
|
||||
|
||||
ufunc = find_func_by_name(arg, &compile_type);
|
||||
|
Reference in New Issue
Block a user