mirror of
https://github.com/nghttp2/nghttp2.git
synced 2025-12-07 18:48:54 +08:00
Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Analyzer
This commit is contained in:
committed by
Tatsuhiro Tsujikawa
parent
eff5c7d0d0
commit
b2f07b1d8c
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user