patch 9.1.1117: there are a few minor style issues
Commit:
https://github.com/vim/vim/commit/5887cce1d71bd249468f955f99e8e75904acea22
Author: Hirohito Higashi <[email protected]>
Date: Sun Feb 16 16:34:30 2025 +0100
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/version.c b/src/version.c
index 19968a66d..22047afd8 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 82205365c..b5e3a13be 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 67722d114..76ce9c50b 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.
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/vim_dev/E1tjgpO-00CTXG-Fh%40256bit.org.