mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-03-14 19:41:33 +01:00
CLEANUP: haterm: remove unreachable labels hstream_add_data()
This function does not return a status. It nevers fails. Remove some useled dead code.
This commit is contained in:
parent
5aa30847ae
commit
a5a053e612
@ -496,12 +496,8 @@ static void hstream_add_data(struct htx *htx, struct hstream *hs)
|
||||
TRACE_STATE("unable to add payload to HTX message", HS_EV_HSTRM_ADD_DATA, hs);
|
||||
|
||||
hs->to_write -= ret;
|
||||
leave:
|
||||
TRACE_LEAVE(HS_EV_HSTRM_ADD_DATA, hs);
|
||||
return;
|
||||
err:
|
||||
TRACE_DEVEL("leaving on error", HS_EV_HSTRM_ADD_DATA);
|
||||
goto leave;
|
||||
}
|
||||
|
||||
/* Build the HTTP response with eventually some BODY data depending on ->to_write
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user