From 5703310e640c4b142a16a3ea4f45317565ae8c32 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 30 Jan 2022 19:37:52 +0000 Subject: patch 8.2.4266: compiler warning for uninitialized variable Problem: Compiler warning for uninitialized variable. Solution: Initialize saved_did_emsg. --- src/userfunc.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/userfunc.c b/src/userfunc.c index f3fe4936a7..747e4d4778 100644 --- a/src/userfunc.c +++ b/src/userfunc.c @@ -4104,7 +4104,7 @@ define_function(exarg_T *eap, char_u *name_arg, garray_T *lines_to_free) { int j; int c; - int saved_did_emsg; + int saved_did_emsg = FALSE; char_u *name = name_arg; int is_global = FALSE; char_u *p; diff --git a/src/version.c b/src/version.c index e2d59070b6..ca506ad14c 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4266, /**/ 4265, /**/ -- cgit v1.2.3