mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-04-01 14:38:28 +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) \
|
#define _MT_LIST_RELINK_DELETED(elt2) \
|
||||||
do { \
|
do { \
|
||||||
struct mt_list *n = elt2.next, *p = elt2.prev; \
|
struct mt_list *n = elt2.next, *p = elt2.prev; \
|
||||||
|
ALREADY_CHECKED(p); \
|
||||||
n->prev = p; \
|
n->prev = p; \
|
||||||
p->next = n; \
|
p->next = n; \
|
||||||
} while (0);
|
} while (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user