updated for version 7.4.133
Problem: Clang warns for using NUL.
Solution: Change NUL to NULL. (Dominique Pelle)
diff --git a/src/eval.c b/src/eval.c
index 1637e6d..8a62fa8 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -14141,8 +14141,8 @@
}
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
diff --git a/src/misc2.c b/src/misc2.c
index 6506203..a9d7a82 100644
--- a/src/misc2.c
+++ b/src/misc2.c
@@ -4695,8 +4695,8 @@
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)
diff --git a/src/version.c b/src/version.c
index cf4f1ce..1ca8f9f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -739,6 +739,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 133,
+/**/
132,
/**/
131,