diff options
author | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2019-06-05 22:02:50 -1000 |
commit | a255618e22152ca2e5fd361a3d0762e9db20dd80 (patch) | |
tree | 5c98f76c0de0785b8d5b58ac622da34f0d024a8f /data/vim/patches/8.1.0699 | |
parent | 1b1fa61507a809a66f053a8523f883b2b6a2f487 (diff) |
Update vim to 8.1.1471
Diffstat (limited to 'data/vim/patches/8.1.0699')
-rw-r--r-- | data/vim/patches/8.1.0699 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/data/vim/patches/8.1.0699 b/data/vim/patches/8.1.0699 new file mode 100644 index 000000000..fd483b7ed --- /dev/null +++ b/data/vim/patches/8.1.0699 @@ -0,0 +1,53 @@ +To: vim_dev@googlegroups.com +Subject: Patch 8.1.0699 +Fcc: outbox +From: Bram Moolenaar <Bram@moolenaar.net> +Mime-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit +------------ + +Patch 8.1.0699 +Problem: Compiler warning for uninitialized variable. (Tony Mechelynck) +Solution: Add a dummy init. +Files: src/edit.c + + +*** ../vim-8.1.0698/src/edit.c 2019-01-06 15:29:52.540852980 +0100 +--- src/edit.c 2019-01-06 17:42:36.649397395 +0100 +*************** +*** 7970,7976 **** + if (cc > 0) + { + #ifdef FEAT_TEXT_PROP +! size_t len_before; + + if (curbuf->b_has_textprop) + { +--- 7970,7976 ---- + if (cc > 0) + { + #ifdef FEAT_TEXT_PROP +! size_t len_before = 0; // init to shut up GCC + + if (curbuf->b_has_textprop) + { +*** ../vim-8.1.0698/src/version.c 2019-01-06 17:25:23.876557968 +0100 +--- src/version.c 2019-01-06 17:44:27.488666435 +0100 +*************** +*** 801,802 **** +--- 801,804 ---- + { /* Add new patch number below this line */ ++ /**/ ++ 699, + /**/ + +-- +hundred-and-one symptoms of being an internet addict: +116. You are living with your boyfriend who networks your respective + computers so you can sit in separate rooms and email each other + + /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ +/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ +\\\ an exciting new programming language -- http://www.Zimbu.org /// + \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |