To: vim_dev@googlegroups.com Subject: Patch 9.0.0859 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///