diff options
-rw-r--r-- | src/evalvars.c | 6 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/src/evalvars.c b/src/evalvars.c index e52f10ba3e..a1970427a2 100644 --- a/src/evalvars.c +++ b/src/evalvars.c @@ -4318,7 +4318,7 @@ setwinvar(typval_T *argvars, int off) varname = tv_get_string_chk(&argvars[off + 1]); varp = &argvars[off + 2]; - if (win == NULL || varname == NULL || varp == NULL) + if (win == NULL || varname == NULL) return; need_switch_win = !(tp == curtab && win == curwin); @@ -4687,7 +4687,7 @@ f_settabvar(typval_T *argvars, typval_T *rettv UNUSED) varname = tv_get_string_chk(&argvars[1]); varp = &argvars[2]; - if (varname == NULL || varp == NULL || tp == NULL) + if (varname == NULL || tp == NULL) return; save_curtab = curtab; @@ -4758,7 +4758,7 @@ f_setbufvar(typval_T *argvars, typval_T *rettv UNUSED) buf = tv_get_buf_from_arg(&argvars[0]); varp = &argvars[2]; - if (buf == NULL || varname == NULL || varp == NULL) + if (buf == NULL || varname == NULL) return; if (*varname == '&') diff --git a/src/version.c b/src/version.c index ab0c923176..470853ffc1 100644 --- a/src/version.c +++ b/src/version.c @@ -696,6 +696,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1137, +/**/ 1136, /**/ 1135, |