diff options
-rw-r--r-- | src/eval.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c index 3db58f8d80..5fc4bd4ff3 100644 --- a/src/eval.c +++ b/src/eval.c @@ -21660,7 +21660,6 @@ handle_subscript( char_u *s; int len; typval_T functv; - partial_T *pt = NULL; while (ret == OK && (**arg == '[' @@ -21671,6 +21670,8 @@ handle_subscript( { if (**arg == '(') { + partial_T *pt = NULL; + /* need to copy the funcref so that we can clear rettv */ if (evaluate) { diff --git a/src/version.c b/src/version.c index 6e448f2d0f..a64d6080ff 100644 --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1590, +/**/ 1589, /**/ 1588, |