To: vim_dev@googlegroups.com Subject: Patch 9.0.0152 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 9.0.0152 (after 9.0.0151) Problem: Warning for unused argument in small build. Solution: Add "UNUSED". Files: src/drawline.c *** ../vim-9.0.0151/src/drawline.c 2022-08-06 13:47:16.212982332 +0100 --- src/drawline.c 2022-08-06 14:18:36.708604437 +0100 *************** *** 369,375 **** * Start a screen line at column zero. */ static void ! win_line_start(win_T *wp, winlinevars_T *wlv) { wlv->col = 0; wlv->off = (unsigned)(current_ScreenLine - ScreenLines); --- 369,375 ---- * Start a screen line at column zero. */ static void ! win_line_start(win_T *wp UNUSED, winlinevars_T *wlv) { wlv->col = 0; wlv->off = (unsigned)(current_ScreenLine - ScreenLines); *** ../vim-9.0.0151/src/version.c 2022-08-06 13:47:16.212982332 +0100 --- src/version.c 2022-08-06 14:19:40.656097423 +0100 *************** *** 737,738 **** --- 737,740 ---- { /* Add new patch number below this line */ + /**/ + 152, /**/ -- If VIM were a woman, I'd marry her. Slim, organized, helpful and beautiful; what's not to like? --David A. Rogers /// 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 ///