Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Analyzer

This commit is contained in:
Alexis La Goutte 2014-04-30 09:02:31 +02:00 committed by Tatsuhiro Tsujikawa
parent eff5c7d0d0
commit b2f07b1d8c
1 changed files with 0 additions and 1 deletions

View File

@ -363,7 +363,6 @@ int nghttp2_submit_altsvc(nghttp2_session *session, uint8_t flags,
memcpy(varp, origin, origin_len);
copy_origin = varp;
varp += origin_len;
}
frame = malloc(sizeof(nghttp2_frame));