Skip to content

Commit 42b8d91

Browse files
committed
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.
1 parent 4f39179 commit 42b8d91

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/hashtab.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ hash_init(hashtab_T *ht)
7070
ht->ht_mask = HT_INIT_SIZE - 1;
7171
}
7272

73-
#if defined(FEAT_EVAL) || defined(FEAT_SYN_HL) || defined(PROTO)
7473
/*
7574
* Free the array of a hash table. Does not free the items it contains!
7675
* If "ht" is not freed then you should call hash_init() next!
@@ -104,7 +103,6 @@ hash_clear_all(hashtab_T *ht, int off)
104103
}
105104
hash_clear(ht);
106105
}
107-
#endif
108106

109107
/*
110108
* Find "key" in hashtable "ht". "key" must not be NULL.

src/if_cscope.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ set_context_in_cscope_cmd(
207207
static void
208208
do_cscope_general(
209209
exarg_T *eap,
210-
int make_split) /* whether to split window */
210+
int make_split UNUSED) /* whether to split window */
211211
{
212212
cscmd_T *cmdp;
213213

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
192,
767769
/**/
768770
191,
769771
/**/

0 commit comments

Comments
 (0)