Patch 8.1.1635
Problem:    Warnings for unused variables in small version. (John Marriott)
Solution:   Adjust #ifdefs.
Files:      src/screen.c


*** ../vim-8.1.1634/src/screen.c        2019-07-04 18:28:31.609084867 +0200
--- src/screen.c        2019-07-04 22:57:03.243561829 +0200
***************
*** 3265,3275 ****
  #endif
  #if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \
        || defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
-     int               sign_present = FALSE;
-     sign_attrs_T sattr;
  # define LINE_ATTR
      int               line_attr = 0;          /* attribute for the whole line 
*/
  #endif
  #ifdef FEAT_SEARCH_EXTRA
      matchitem_T *cur;                 /* points to the match list */
      match_T   *shl;                   /* points to search_hl or a match */
--- 3265,3277 ----
  #endif
  #if defined(FEAT_SIGNS) || defined(FEAT_QUICKFIX) \
        || defined(FEAT_SYN_HL) || defined(FEAT_DIFF)
  # define LINE_ATTR
      int               line_attr = 0;          /* attribute for the whole line 
*/
  #endif
+ #ifdef FEAT_SIGNS
+     int               sign_present = FALSE;
+     sign_attrs_T sattr;
+ #endif
  #ifdef FEAT_SEARCH_EXTRA
      matchitem_T *cur;                 /* points to the match list */
      match_T   *shl;                   /* points to search_hl or a match */
*** ../vim-8.1.1634/src/version.c       2019-07-04 22:32:35.584865850 +0200
--- src/version.c       2019-07-04 22:58:56.302839165 +0200
***************
*** 779,780 ****
--- 779,782 ----
  {   /* Add new patch number below this line */
+ /**/
+     1635,
  /**/

-- 
"Shoot for the moon. Even if you miss, you'll land among the stars."

 /// 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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/201907042059.x64KxQfO017213%40masaka.moolenaar.net.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui