Fix issue with assertion
This commit is contained in:
1 parent
e540a95ad0
commit
44d8363292
1 file changed
+1
-1
@@ -842,7 +842,7 @@
|
|||||||
static inline void \
|
static inline void \
|
||||||
M_C(name, _next)(list_it_t it) \
|
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->previous = it->current; \
|
||||||
it->current = it->current->next; \
|
it->current = it->current->next; \
|
||||||
} \
|
} \
|
||||||
|
|||||||
Reference in new issue
Block a user