0
0
mirror of https://github.com/vim/vim.git synced 2025-09-26 04:04:07 -04:00

updated for version 7.4.133

Problem:    Clang warns for using NUL.
Solution:   Change NUL to NULL. (Dominique Pelle)
This commit is contained in:
Bram Moolenaar
2014-01-06 06:19:11 +01:00
parent 3f1138e8ae
commit 5f4c8406a2
3 changed files with 6 additions and 4 deletions

View File

@@ -14141,8 +14141,8 @@ f_matcharg(argvars, rettv)
}
else
{
list_append_string(rettv->vval.v_list, NUL, -1);
list_append_string(rettv->vval.v_list, NUL, -1);
list_append_string(rettv->vval.v_list, NULL, -1);
list_append_string(rettv->vval.v_list, NULL, -1);
}
}
#endif

View File

@@ -4695,8 +4695,8 @@ vim_findfile_init(path, filename, stopdirs, level, free_visited, find_what,
else
{
char_u *p = gettail(search_ctx->ffsc_fix_path);
char_u *wc_path = NUL;
char_u *temp = NUL;
char_u *wc_path = NULL;
char_u *temp = NULL;
int len = 0;
if (p > search_ctx->ffsc_fix_path)

View File

@@ -738,6 +738,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
133,
/**/
132,
/**/