Mercurial > vim
changeset 10605:9279c939391b v8.0.0192
patch 8.0.0192: cannot build with tiny features
commit https://github.com/vim/vim/commit/42b8d916c719002dbafade6b977d4e266f8712dc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 15 17:18:57 2017 +0100
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.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 15 Jan 2017 17:30:03 +0100 |
parents | fc8b7abe3471 |
children | 20ce0e6ee3c2 |
files | src/hashtab.c src/if_cscope.c src/version.c |
diffstat | 3 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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.