mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-08-07 07:37:02 +02:00
CLEANUP: http_ext: remove useless BUG_ON() in http_handle_xot_header()
A useless BUG_ON() statement was let in a conditional block that already checks that the condition cannot be met within the block. Remove the useless BUG_ON()
This commit is contained in:
parent
d28d016f43
commit
9262b7109e
@ -870,7 +870,6 @@ int http_handle_xot_header(struct stream *s, struct channel *req)
|
|||||||
}
|
}
|
||||||
if (s->be->http_ext && s->be->http_ext->xot) {
|
if (s->be->http_ext && s->be->http_ext->xot) {
|
||||||
/* backend */
|
/* backend */
|
||||||
BUG_ON(!s->be->http_ext);
|
|
||||||
b_xot = s->be->http_ext->xot;
|
b_xot = s->be->http_ext->xot;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user