# HG changeset patch # User Bram Moolenaar # Date 1605639604 -3600 # Node ID 54f796fb7cb2c145c65205cd400b30e3942fb73c # Parent 3fdbc9315e96f708123384f0a2b442cbb0558499 patch 8.2.2004: compiler warning for uninitialized variable Commit: https://github.com/vim/vim/commit/b3a01946b30f33e7be0358b3ff2736b94973a659 Author: Bram Moolenaar Date: Tue Nov 17 19:56:09 2020 +0100 patch 8.2.2004: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize "ufunc". (John Marriott) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2004, +/**/ 2003, /**/ 2002, diff --git a/src/vim9compile.c b/src/vim9compile.c --- a/src/vim9compile.c +++ b/src/vim9compile.c @@ -2626,7 +2626,7 @@ compile_call( char_u fname_buf[FLEN_FIXED + 1]; char_u *tofree = NULL; int error = FCERR_NONE; - ufunc_T *ufunc; + ufunc_T *ufunc = NULL; int res = FAIL; int is_autoload;