Patch 9.0.0859 (after 9.0.0858)
Problem: Compiler warning for unused variable.
Solution: Add #ifdef.
Files: src/ex_docmd.c
*** ../vim-9.0.0858/src/ex_docmd.c 2022-11-11 01:20:31.682555519 +0000
--- src/ex_docmd.c 2022-11-11 01:39:33.518967049 +0000
***************
*** 4308,4315 ****
lnum = MAXLNUM;
do
{
int base_char = *cmd;
!
switch (*cmd)
{
case '.': // '.' - Cursor position
--- 4308,4316 ----
lnum = MAXLNUM;
do
{
+ #ifdef FEAT_FOLDING
int base_char = *cmd;
! #endif
switch (*cmd)
{
case '.': // '.' - Cursor position
*** ../vim-9.0.0858/src/version.c 2022-11-11 01:20:31.682555519 +0000
--- src/version.c 2022-11-11 01:40:29.014985310 +0000
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 859,
/**/
--
It was recently discovered that research causes cancer in rats.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221111014118.4CA3E1C03D0%40moolenaar.net.