Removed unused variable
This commit is contained in:
parent
e13152c0a5
commit
ad13e56617
|
@ -106,7 +106,6 @@ int spdylay_buffer_write(spdylay_buffer *buffer, const uint8_t *data,
|
|||
size_t len)
|
||||
{
|
||||
int rv;
|
||||
size_t i;
|
||||
while(len) {
|
||||
size_t writelen;
|
||||
if(spdylay_buffer_avail(buffer) == 0) {
|
||||
|
|
|
@ -696,7 +696,6 @@ int spdylay_frame_unpack_syn_stream_without_nv(spdylay_syn_stream *frame,
|
|||
const uint8_t *payload,
|
||||
size_t payloadlen)
|
||||
{
|
||||
int r;
|
||||
spdylay_frame_unpack_ctrl_hd(&frame->hd, head);
|
||||
if(headlen + payloadlen != SPDYLAY_SYN_STREAM_NV_OFFSET) {
|
||||
return SPDYLAY_ERR_INVALID_FRAME;
|
||||
|
|
|
@ -2456,7 +2456,6 @@ ssize_t spdylay_session_mem_recv(spdylay_session *session,
|
|||
while(1) {
|
||||
ssize_t r;
|
||||
if(session->iframe.state == SPDYLAY_RECV_HEAD) {
|
||||
uint32_t payloadlen;
|
||||
size_t remheadbytes;
|
||||
size_t readlen;
|
||||
size_t bufavail = inlimit-inmark;
|
||||
|
|
Loading…
Reference in New Issue