Patch 9.0.0717
Problem:    Compiler warning for unused variable in tiny build.
Solution:   Add #ifdefs.
Files:      src/drawline.c


*** ../vim-9.0.0716/src/drawline.c      2022-10-10 19:50:19.482640200 +0100
--- src/drawline.c      2022-10-10 20:31:42.725231268 +0100
***************
*** 977,985 ****
--- 977,987 ----
  
      int               n_skip = 0;             // nr of cells to skip for 
'nowrap' or
                                        // concealing
+ #ifdef FEAT_PROP_POPUP
      int               skip_cells = 0;         // nr of cells to skip for 
virtual text
                                        // after the line, when w_skipcol is
                                        // larger than the text length
+ #endif
  
      int               fromcol_prev = -2;      // start of inverting after 
cursor
      int               noinvcur = FALSE;       // don't invert the cursor
***************
*** 1508,1517 ****
--- 1510,1521 ----
               n_skip = v - wlv.vcol;
        }
  
+ #ifdef FEAT_PROP_POPUP
        // If there the text doesn't reach to the desired column, need to skip
        // "skip_cells" cells when virtual text follows.
        if (!wp->w_p_wrap && v > wlv.vcol)
            skip_cells = v - wlv.vcol;
+ #endif
  
        // Adjust for when the inverted text is before the screen,
        // and when the start of the inverted text is before the screen.
*** ../vim-9.0.0716/src/version.c       2022-10-10 19:50:19.482640200 +0100
--- src/version.c       2022-10-10 20:32:35.909204573 +0100
***************
*** 701,702 ****
--- 701,704 ----
  {   /* Add new patch number below this line */
+ /**/
+     717,
  /**/

-- 
`When any government, or any church for that matter, undertakes to say to
 its subjects, "This you may not read, this you must not see, this you are
 forbidden to know," the end result is tyranny and oppression no matter how
 holy the motives' -- Robert A Heinlein, "If this goes on --"

 /// 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/20221010193354.D15171C5296%40moolenaar.net.

Raspunde prin e-mail lui