Skip to content

Commit 5887cce

Browse files
h-eastchrisbra
authored andcommitted
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]>
1 parent b5f463c commit 5887cce

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -704,6 +704,8 @@ static char *(features[]) =
704704

705705
static int included_patches[] =
706706
{ /* Add new patch number below this line */
707+
/**/
708+
1117,
707709
/**/
708710
1116,
709711
/**/

src/vim9class.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2489,7 +2489,7 @@ ex_class(exarg_T *eap)
24892489

24902490
if (success && is_enum && num_enum_values == 0)
24912491
// Empty enum statement. Add an empty "values" class variable
2492-
enum_add_values_member(cl, &classmembers, 0, &type_list);
2492+
success = enum_add_values_member(cl, &classmembers, 0, &type_list);
24932493

24942494
/*
24952495
* Check a few things

src/vim9expr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ compile_load(
902902
|| (imp = find_imported(name, 0, FALSE)) != NULL
903903
|| (imp = find_imported_from_extends(cctx, name, 0, FALSE))
904904
!= NULL)
905-
res = compile_load_scriptvar(cctx, name, *arg, &end, imp);
905+
res = compile_load_scriptvar(cctx, name, *arg, &end, imp);
906906

907907
// When evaluating an expression and the name starts with an
908908
// uppercase letter it can be a user defined function.

0 commit comments

Comments
 (0)