diff options
author | Bram Moolenaar <Bram@vim.org> | 2017-01-15 17:18:57 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2017-01-15 17:18:57 +0100 |
commit | 42b8d916c719002dbafade6b977d4e266f8712dc (patch) | |
tree | 54a8be49b78c54da0eaf1fb49e32dd460d5b13d8 /src | |
parent | 4f391796b7de78a434a2cc7107034603df414905 (diff) | |
download | vim-42b8d916c719002dbafade6b977d4e266f8712dc.zip |
patch 8.0.0192: cannot build with tiny features
Problem: Build fails with tiny features.
Solution: Change #ifdef for hash_clear(). Avoid warning for unused
argument.
Diffstat (limited to 'src')
-rw-r--r-- | src/hashtab.c | 2 | ||||
-rw-r--r-- | src/if_cscope.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/hashtab.c b/src/hashtab.c index 658bfb969..4bf41e0da 100644 --- a/src/hashtab.c +++ b/src/hashtab.c @@ -70,7 +70,6 @@ hash_init(hashtab_T *ht) ht->ht_mask = HT_INIT_SIZE - 1; } -#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO) /* * Free the array of a hash table. Does not free the items it contains! * If "ht" is not freed then you should call hash_init() next! @@ -104,7 +103,6 @@ hash_clear_all(hashtab_T *ht, int off) } hash_clear(ht); } -#endif /* * Find "key" in hashtable "ht". "key" must not be NULL. diff --git a/src/if_cscope.c b/src/if_cscope.c index 31c037187..60480a5b7 100644 --- a/src/if_cscope.c +++ b/src/if_cscope.c @@ -207,7 +207,7 @@ set_context_in_cscope_cmd( static void do_cscope_general( exarg_T *eap, - int make_split) /* whether to split window */ + int make_split UNUSED) /* whether to split window */ { cscmd_T *cmdp; diff --git a/src/version.c b/src/version.c index bf4b82d10..a82501330 100644 --- a/src/version.c +++ b/src/version.c @@ -765,6 +765,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 192, +/**/ 191, /**/ 190, |