From 693c491f1e9337501e714318a7f2709e345d41d8 Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Tue, 11 Jul 2017 23:52:48 +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 2f8bdcea..8effd4f8 100644 --- a/m-dict.h +++ b/m-dict.h @@ -760,7 +760,7 @@ typedef enum { h->count_delete = h->count; \ M_C3(dicti_,name,_limit)(h, newSize); \ h->data = data; \ - assert (M_C3(dicti_,name,_control_after_resize)(h)); \ + M_IF_DEBUG (assert (M_C3(dicti_,name,_control_after_resize)(h));) \ assert (h->lower_limit < h->count && h->count < h->upper_limit); \ DICTI_OA_CONTRACT(h); \ } \ @@ -885,7 +885,7 @@ typedef enum { h->data = M_GET_REALLOC key_oplist (M_C3(dict_pair_,name,_t), data, newSize); \ assert (h->data != NULL); \ } \ - assert (M_C3(dicti_,name,_control_after_resize)(h)); \ + M_IF_DEBUG (assert (M_C3(dicti_,name,_control_after_resize)(h));) \ assert (h->lower_limit < h->count && h->count < h->upper_limit); \ DICTI_OA_CONTRACT(h); \ } \