aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/memfile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/nvim/memfile.c')
-rw-r--r--src/nvim/memfile.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nvim/memfile.c b/src/nvim/memfile.c
index 0ad2a3a718..6061ed363b 100644
--- a/src/nvim/memfile.c
+++ b/src/nvim/memfile.c
@@ -1008,8 +1008,7 @@ static void mf_hash_add_item(mf_hashtab_T *mht, mf_hashitem_T *mhi)
/// Grow hashtable when we have more thank 2^MHT_LOG_LOAD_FACTOR
/// items per bucket on average.
- if (mht->mht_fixed == 0
- && (mht->mht_count >> MHT_LOG_LOAD_FACTOR) > mht->mht_mask) {
+ if ((mht->mht_count >> MHT_LOG_LOAD_FACTOR) > mht->mht_mask) {
mf_hash_grow(mht);
}
}