Patch 8.1.1145
Problem:    Compiler warning for unused function. (Tony Mechelynck)
Solution:   Add #ifdef.
Files:      src/option.c


*** ../vim-8.1.1144/src/option.c        2019-04-10 22:33:37.514161278 +0200
--- src/option.c        2019-04-11 11:17:48.038298244 +0200
***************
*** 6030,6035 ****
--- 6030,6036 ----
      return valid_name(val, ".-_");
  }
  
+ #if defined(FEAT_SPELL) || defined(PROTO)
  /*
   * Return TRUE if "val" is a valid 'spellang' value.
   */
***************
*** 6052,6057 ****
--- 6053,6059 ----
            return FALSE;
      return TRUE;
  }
+ #endif
  
  /*
   * Handle string options that need some action to perform when changed.
*** ../vim-8.1.1144/src/version.c       2019-04-10 22:33:37.514161278 +0200
--- src/version.c       2019-04-11 11:18:41.342001795 +0200
***************
*** 773,774 ****
--- 773,776 ----
  {   /* Add new patch number below this line */
+ /**/
+     1145,
  /**/

-- 
Married is a three ring circus:
First comes the engagement ring.
Then comes the wedding ring.
Then comes the suffering.

 /// 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