To: vim_dev@googlegroups.com Subject: Patch 8.1.2284 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.1.2284 Problem: Compiler warning for unused variable. (Tony Mechelynck) Solution: Add #ifdef. Files: src/move.c *** ../vim-8.1.2283/src/move.c 2019-11-09 23:26:36.905570965 +0100 --- src/move.c 2019-11-10 01:31:08.833222199 +0100 *************** *** 988,994 **** --- 988,996 ---- /* long line wrapping, adjust curwin->w_wrow */ if (curwin->w_wcol >= curwin->w_width) { + #ifdef FEAT_LINEBREAK char_u *sbr; + #endif /* this same formula is used in validate_cursor_col() */ n = (curwin->w_wcol - curwin->w_width) / width + 1; *** ../vim-8.1.2283/src/version.c 2019-11-10 00:19:08.729688740 +0100 --- src/version.c 2019-11-10 01:31:46.869080457 +0100 *************** *** 743,744 **** --- 743,746 ---- { /* Add new patch number below this line */ + /**/ + 2284, /**/ -- ERROR 047: Keyboard not found. Press RETURN to continue. /// 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 ///