Fix Dead Store (Dead assignement/Dead increment) warning found by Clang Analyzer
This commit is contained in:
parent
eff5c7d0d0
commit
b2f07b1d8c
|
@ -363,7 +363,6 @@ int nghttp2_submit_altsvc(nghttp2_session *session, uint8_t flags,
|
||||||
memcpy(varp, origin, origin_len);
|
memcpy(varp, origin, origin_len);
|
||||||
|
|
||||||
copy_origin = varp;
|
copy_origin = varp;
|
||||||
varp += origin_len;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
frame = malloc(sizeof(nghttp2_frame));
|
frame = malloc(sizeof(nghttp2_frame));
|
||||||
|
|
Loading…
Reference in New Issue