]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.0.0352: not easy to see when a typval needs to be cleared v8.0.0352
authorBram Moolenaar <Bram@vim.org>
Thu, 23 Feb 2017 13:25:17 +0000 (14:25 +0100)
committerBram Moolenaar <Bram@vim.org>
Thu, 23 Feb 2017 13:25:17 +0000 (14:25 +0100)
commitf06e5a549f42396be3478ccc1b5f03be64e1173e
treeee45524964045f03edf57d8874d86b96328d1704
parent218426896cbb2129aa4e85803ea97c5b57df1eaa
patch 8.0.0352: not easy to see when a typval needs to be cleared

Problem:    The condition for when a typval needs to be cleared is too
            complicated.
Solution:   Init the type to VAR_UNKNOWN and clear it always.
src/eval.c
src/version.c