Commit 2778e4aa authored by Tatsuhiro Tsujikawa's avatar Tatsuhiro Tsujikawa

Remove useless debug code in nghttp2_stream_roots_add()

parent 3f80472e
......@@ -938,13 +938,6 @@ void nghttp2_stream_roots_add(nghttp2_stream_roots *roots,
nghttp2_stream *stream)
{
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;
roots->head->root_prev = stream;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment