Patch 9.0.0266
Problem:    Compiler warning for unused argument.
Solution:   Add UNUSED.
Files:      src/buffer.c,


*** ../vim-9.0.0265/src/buffer.c        2022-08-25 16:02:09.677816456 +0100
--- src/buffer.c        2022-08-25 16:15:52.154709809 +0100
***************
*** 5651,5657 ****
   * Return TRUE if "buf" is the quickfix buffer.
   */
      int
! bt_quickfix(buf_T *buf)
  {
  #ifdef FEAT_QUICKFIX
      return buf != NULL && buf->b_p_bt[0] == 'q';
--- 5651,5657 ----
   * Return TRUE if "buf" is the quickfix buffer.
   */
      int
! bt_quickfix(buf_T *buf UNUSED)
  {
  #ifdef FEAT_QUICKFIX
      return buf != NULL && buf->b_p_bt[0] == 'q';
***************
*** 5664,5670 ****
   * Return TRUE if "buf" is a terminal buffer.
   */
      int
! bt_terminal(buf_T *buf)
  {
  #if defined(FEAT_TERMINAL)
      return buf != NULL && buf->b_p_bt[0] == 't';
--- 5664,5670 ----
   * Return TRUE if "buf" is a terminal buffer.
   */
      int
! bt_terminal(buf_T *buf UNUSED)
  {
  #if defined(FEAT_TERMINAL)
      return buf != NULL && buf->b_p_bt[0] == 't';
*** ../vim-9.0.0265/src/version.c       2022-08-25 16:02:09.681816465 +0100
--- src/version.c       2022-08-25 16:16:24.458722908 +0100
***************
*** 729,730 ****
--- 729,732 ----
  {   /* Add new patch number below this line */
+ /**/
+     266,
  /**/

-- 
Every person is responsible for the choices he makes.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/20220825151710.004611C090E%40moolenaar.net.

Raspunde prin e-mail lui