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 -- [email protected] -- 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    ///

-- 
-- 
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].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui