From 42989df5d904fc69cc0e9a64f826de48463b8077 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 11 Jul 2017 23:39:45 +0200 Subject: [PATCH] Fix issue with coverage build. --- m-dict.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/m-dict.h b/m-dict.h index 7f45e517..2f8bdcea 100644 --- a/m-dict.h +++ b/m-dict.h @@ -269,8 +269,8 @@ while (!M_C3(list_dict_pair_,name,_end_p)(it)) { \ M_IF_DEBUG(M_C3(dict_pair_,name,_ptr) pair = *M_C3(list_dict_pair_,name,_ref)(it);) \ M_IF_DEBUG(size_t hash = M_GET_HASH key_oplist (pair->key);) \ - assert ((hash & (old_size -1)) == i); \ - assert ((hash & (new_size -1)) == i - new_size); \ + M_IF_DEBUG(assert ((hash & (old_size -1)) == i);) \ + M_IF_DEBUG(assert ((hash & (new_size -1)) == i - new_size);) \ M_C3(list_dict_pair_,name,_t) *new_list = \ M_C3(array_list_dict_pair_,name,_get)(map->table, i - new_size); \ M_C3(list_dict_pair_,name,_splice_back)(*new_list, *list, it); \