forked from aniani/vim
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.
This commit is contained in:
@@ -70,7 +70,6 @@ hash_init(hashtab_T *ht)
|
|||||||
ht->ht_mask = HT_INIT_SIZE - 1;
|
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!
|
* 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!
|
* 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);
|
hash_clear(ht);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Find "key" in hashtable "ht". "key" must not be NULL.
|
* Find "key" in hashtable "ht". "key" must not be NULL.
|
||||||
|
@@ -207,7 +207,7 @@ set_context_in_cscope_cmd(
|
|||||||
static void
|
static void
|
||||||
do_cscope_general(
|
do_cscope_general(
|
||||||
exarg_T *eap,
|
exarg_T *eap,
|
||||||
int make_split) /* whether to split window */
|
int make_split UNUSED) /* whether to split window */
|
||||||
{
|
{
|
||||||
cscmd_T *cmdp;
|
cscmd_T *cmdp;
|
||||||
|
|
||||||
|
@@ -764,6 +764,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
192,
|
||||||
/**/
|
/**/
|
||||||
191,
|
191,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user