commit | b3a01946b30f33e7be0358b3ff2736b94973a659 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Nov 17 19:56:09 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Nov 17 19:56:09 2020 +0100 |
tree | 9fe8fdf1ba666da602412807a79056ee60c3f2e6 | |
parent | 1efefda623283d941705d8f6ad0e9cfe0ac76079 [diff] [blame] |
patch 8.2.2004: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize "ufunc". (John Marriott)
diff --git a/src/vim9compile.c b/src/vim9compile.c index ebe4854..c8fb95e 100644 --- a/src/vim9compile.c +++ b/src/vim9compile.c
@@ -2626,7 +2626,7 @@ 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;