mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-03-11 05:48:41 +00:00
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:
parent
638698da37
commit
49983a9fe1
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user