Patch 9.0.0523 (after 9.0.0519)
Problem:    more compiler warnings for arguments in small version
Solution:   Adjust #ifdefs.
Files:      src/drawline.c


*** ../vim-9.0.0522/src/drawline.c      2022-09-20 20:25:33.116224593 +0100
--- src/drawline.c      2022-09-20 21:09:10.741259418 +0100
***************
*** 391,396 ****
--- 391,397 ----
  #endif
      }
  }
+ 
  #if defined(FEAT_PROP_POPUP) || defined(PROTO)
  /*
   * Return the cell size of virtual text after truncation.
***************
*** 1530,1536 ****
            {
                // Show the line number, if desired.
                wlv.draw_state = WL_NR;
!               handle_lnum_col(wp, &wlv, sign_present, num_attr);
            }
  
  #ifdef FEAT_LINEBREAK
--- 1531,1543 ----
            {
                // Show the line number, if desired.
                wlv.draw_state = WL_NR;
!               handle_lnum_col(wp, &wlv,
! #ifdef FEAT_SIGNS
!                                           sign_present, num_attr
! #else
!                                           0, 0
! #endif
!                                           );
            }
  
  #ifdef FEAT_LINEBREAK
*** ../vim-9.0.0522/src/version.c       2022-09-20 20:52:30.074166608 +0100
--- src/version.c       2022-09-20 21:09:26.081237397 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     523,
  /**/

-- 
FIXME and XXX are two common keywords used to mark broken or incomplete code
not only since XXX as a sex reference would grab everybody's attention but
simply due to the fact that Vim would highlight these words.
                                        -- Hendrik Scholz

 /// 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/20220920201114.D5B281C0852%40moolenaar.net.

Raspunde prin e-mail lui