summaryrefslogtreecommitdiff
path: root/data/vim/patches/8.1.1145
blob: 743863109540977a6e81d825840ed1791b0d630f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
To: vim_dev@googlegroups.com
Subject: Patch 8.1.1145
Fcc: outbox
From: Bram Moolenaar <Bram@moolenaar.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
------------

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 -- Bram@Moolenaar.net -- 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    ///