mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 10:38:53 +08:00
Remove useless debug code in nghttp2_stream_roots_add()
This commit is contained in:
@@ -938,13 +938,6 @@ void nghttp2_stream_roots_add(nghttp2_stream_roots *roots,
|
|||||||
nghttp2_stream *stream)
|
nghttp2_stream *stream)
|
||||||
{
|
{
|
||||||
if(roots->head) {
|
if(roots->head) {
|
||||||
nghttp2_stream *si;
|
|
||||||
for(si = roots->head; si; si = si->root_next) {
|
|
||||||
if(si == stream) {
|
|
||||||
assert(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
stream->root_next = roots->head;
|
stream->root_next = roots->head;
|
||||||
roots->head->root_prev = stream;
|
roots->head->root_prev = stream;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user