From 44d8363292938991147e210fa3a1e434c60f62bf Mon Sep 17 00:00:00 2001 From: Patrick Pelissier Date: Sat, 24 Feb 2018 20:26:19 +0100 Subject: [PATCH] Fix issue with assertion --- m-list.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m-list.h b/m-list.h index 03831a80..362a711b 100644 --- a/m-list.h +++ b/m-list.h @@ -842,7 +842,7 @@ static inline void \ M_C(name, _next)(list_it_t it) \ { \ - assert(it != NULL && it->current->next != NULL); \ + assert(it != NULL && it->current != NULL); \ it->previous = it->current; \ it->current = it->current->next; \ } \