]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.1117: there are a few minor style issues v9.1.1117
authorHirohito Higashi <h.east.727@gmail.com>
Sun, 16 Feb 2025 15:34:30 +0000 (16:34 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 16 Feb 2025 15:34:30 +0000 (16:34 +0100)
Problem:  there are a few minor style issues
Solution: fix the issues (Hirohito Higashi)

closes: #16646

Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/version.c
src/vim9class.c
src/vim9expr.c

index 19968a66d02b7e1d5d622c3f4af0e35669ff713d..22047afd8d04e52453e6a25ac51fd294be3efe0d 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1117,
 /**/
     1116,
 /**/
index 82205365c66d46d0857cd92e8c6f4213c35810ad..b5e3a13be7f86bd22cccb38bc8f7692d54185242 100644 (file)
@@ -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
index 67722d1140dd5b30c8c058b72827f54f15731101..76ce9c50b3e36c7c50ea619a64b1fc45c647826d 100644 (file)
@@ -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.