MINOR: mt_lists: Appease gcc.

gcc is confused, and think p may end up being NULL in _MT_LIST_RELINK_DELETED.
It should never happen, so let gcc know that.
This commit is contained in:
Olivier Houchard 2020-03-11 15:09:16 +01:00 committed by Olivier Houchard
parent 638698da37
commit 49983a9fe1

View File

@ -608,6 +608,7 @@ struct cond_wordlist {
#define _MT_LIST_RELINK_DELETED(elt2) \
do { \
struct mt_list *n = elt2.next, *p = elt2.prev; \
ALREADY_CHECKED(p); \
n->prev = p; \
p->next = n; \
} while (0);