Fix Value stored to 'rv' is never read found by Clang Analyzer

This commit is contained in:
Alexis La Goutte 2015-10-26 14:25:09 +01:00
parent da1eb19a73
commit b4f363ef53
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) {