Skip to content

Commit cc96650

Browse files
committed
updated for version 7.4.133
Problem: Clang warns for using NUL. Solution: Change NUL to NULL. (Dominique Pelle)
1 parent d9d3457 commit cc96650

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/eval.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14141,8 +14141,8 @@ f_matcharg(argvars, rettv)
1414114141
}
1414214142
else
1414314143
{
14144-
list_append_string(rettv->vval.v_list, NUL, -1);
14145-
list_append_string(rettv->vval.v_list, NUL, -1);
14144+
list_append_string(rettv->vval.v_list, NULL, -1);
14145+
list_append_string(rettv->vval.v_list, NULL, -1);
1414614146
}
1414714147
}
1414814148
#endif

src/misc2.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4695,8 +4695,8 @@ vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what,
46954695
else
46964696
{
46974697
char_u *p = gettail(search_ctx->ffsc_fix_path);
4698-
char_u *wc_path = NUL;
4699-
char_u *temp = NUL;
4698+
char_u *wc_path = NULL;
4699+
char_u *temp = NULL;
47004700
int len = 0;
47014701

47024702
if (p > search_ctx->ffsc_fix_path)

src/version.c

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

739739
static int included_patches[] =
740740
{ /* Add new patch number below this line */
741+
/**/
742+
133,
741743
/**/
742744
132,
743745
/**/

0 commit comments

Comments
 (0)