Skip to content

Commit 527ed38

Browse files
committed
patch 8.2.2526: build failure
Problem: Build failure. Solution: Change lookup_scriptvar() arguments.
1 parent e0890d6 commit 527ed38

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/evalvars.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2776,7 +2776,6 @@ get_script_local_ht(void)
27762776
lookup_scriptvar(
27772777
char_u *name,
27782778
size_t len,
2779-
void *lvar UNUSED,
27802779
cctx_T *dummy UNUSED)
27812780
{
27822781
hashtab_T *ht = get_script_local_ht();

src/proto/evalvars.pro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ void check_vars(char_u *name, int len);
6060
dictitem_T *find_var(char_u *name, hashtab_T **htp, int no_autoload);
6161
dictitem_T *find_var_in_ht(hashtab_T *ht, int htname, char_u *varname, int no_autoload);
6262
hashtab_T *get_script_local_ht(void);
63-
int lookup_scriptvar(char_u *name, size_t len, void *lvar, cctx_T *dummy);
63+
int lookup_scriptvar(char_u *name, size_t len, cctx_T *dummy);
6464
hashtab_T *find_var_ht(char_u *name, char_u **varname);
6565
char_u *get_var_value(char_u *name);
6666
void new_script_vars(scid_T id);

src/version.c

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

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2526,
753755
/**/
754756
2525,
755757
/**/

0 commit comments

Comments
 (0)