From 2778e4aafc9a47deeecf9f2a0fbd4c1cea487673 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Fri, 16 May 2014 22:30:59 +0900 Subject: [PATCH] Remove useless debug code in nghttp2_stream_roots_add() --- lib/nghttp2_stream.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/lib/nghttp2_stream.c b/lib/nghttp2_stream.c index 34274eff..0ac29e7e 100644 --- a/lib/nghttp2_stream.c +++ b/lib/nghttp2_stream.c @@ -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; }