To: vim_dev@googlegroups.com Subject: Patch 8.0.1849 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.0.1849 Problem: Compiler warning for unused arguments and missing prototype. Solution: Add UNUSED. Add static. Files: src/mbyte.c, src/if_ruby.c *** ../vim-8.0.1848/src/mbyte.c 2018-04-08 13:07:18.742034802 +0200 --- src/mbyte.c 2018-05-17 13:06:28.633496767 +0200 *************** *** 6506,6512 **** # ifdef FEAT_GUI void ! im_set_position(int row, int col) { } # endif --- 6506,6512 ---- # ifdef FEAT_GUI void ! im_set_position(int row UNUSED, int col UNUSED) { } # endif *** ../vim-8.0.1848/src/if_ruby.c 2018-01-31 20:15:25.675643331 +0100 --- src/if_ruby.c 2018-05-17 13:07:54.220973222 +0200 *************** *** 828,834 **** } } ! VALUE rb_load_wrap(VALUE file_to_load) { rb_load(file_to_load, 0); return Qnil; --- 828,834 ---- } } ! static VALUE rb_load_wrap(VALUE file_to_load) { rb_load(file_to_load, 0); return Qnil; *** ../vim-8.0.1848/src/version.c 2018-05-15 23:53:22.092994698 +0200 --- src/version.c 2018-05-17 13:06:21.521540263 +0200 *************** *** 763,764 **** --- 763,766 ---- { /* Add new patch number below this line */ + /**/ + 1849, /**/ -- Another bucket of what can only be described as human ordure hits ARTHUR. ARTHUR: ... Right! (to the KNIGHTS) That settles it! "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD /// 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 ///