Merge branch 'scan-build' of https://github.com/alagoutte/nghttp2 into alagoutte-scan-build

This commit is contained in:
Tatsuhiro Tsujikawa 2015-10-27 00:49:09 +09:00
commit 1a545ed518
1 changed files with 0 additions and 2 deletions

View File

@ -2400,8 +2400,6 @@ static int session_after_frame_sent1(nghttp2_session *session) {
break; break;
} }
case NGHTTP2_WINDOW_UPDATE: case NGHTTP2_WINDOW_UPDATE:
rv = 0;
if (frame->hd.stream_id == 0) { if (frame->hd.stream_id == 0) {
session->window_update_queued = 0; session->window_update_queued = 0;
if (session->opt_flags & NGHTTP2_OPTMASK_NO_AUTO_WINDOW_UPDATE) { if (session->opt_flags & NGHTTP2_OPTMASK_NO_AUTO_WINDOW_UPDATE) {