From: Hirohito Higashi Date: Sun, 16 Feb 2025 15:34:30 +0000 (+0100) Subject: patch 9.1.1117: there are a few minor style issues X-Git-Tag: v9.1.1117^0 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5887cce1d71bd249468f955f99e8e75904acea22;p=thirdparty%2Fvim.git patch 9.1.1117: there are a few minor style issues Problem: there are a few minor style issues Solution: fix the issues (Hirohito Higashi) closes: #16646 Signed-off-by: Hirohito Higashi Signed-off-by: Christian Brabandt --- diff --git a/src/version.c b/src/version.c index 19968a66d0..22047afd8d 100644 --- a/src/version.c +++ b/src/version.c @@ -704,6 +704,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1117, /**/ 1116, /**/ diff --git a/src/vim9class.c b/src/vim9class.c index 82205365c6..b5e3a13be7 100644 --- a/src/vim9class.c +++ b/src/vim9class.c @@ -2489,7 +2489,7 @@ early_ret: if (success && is_enum && num_enum_values == 0) // Empty enum statement. Add an empty "values" class variable - enum_add_values_member(cl, &classmembers, 0, &type_list); + success = enum_add_values_member(cl, &classmembers, 0, &type_list); /* * Check a few things diff --git a/src/vim9expr.c b/src/vim9expr.c index 67722d1140..76ce9c50b3 100644 --- a/src/vim9expr.c +++ b/src/vim9expr.c @@ -902,7 +902,7 @@ compile_load( || (imp = find_imported(name, 0, FALSE)) != NULL || (imp = find_imported_from_extends(cctx, name, 0, FALSE)) != NULL) - res = compile_load_scriptvar(cctx, name, *arg, &end, imp); + res = compile_load_scriptvar(cctx, name, *arg, &end, imp); // When evaluating an expression and the name starts with an // uppercase letter it can be a user defined function.