mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4992: compiler warning for possibly uninitialized variable
Problem: Compiler warning for possibly uninitialized variable. (Tony Mechelynck) Solution: Initialize variable in the caller instead of in the function.
This commit is contained in:
@@ -6281,7 +6281,7 @@ ex_disassemble(exarg_T *eap)
|
||||
dfunc_T *dfunc;
|
||||
isn_T *instr;
|
||||
int instr_count;
|
||||
compiletype_T compile_type;
|
||||
compiletype_T compile_type = CT_NONE;
|
||||
|
||||
ufunc = find_func_by_name(arg, &compile_type);
|
||||
if (ufunc == NULL)
|
||||
|
Reference in New Issue
Block a user