Removed unused variable

This commit is contained in:
Tatsuhiro Tsujikawa 2012-05-25 19:07:01 +09:00
parent e13152c0a5
commit ad13e56617
3 changed files with 0 additions and 3 deletions

View File

@ -106,7 +106,6 @@ int spdylay_buffer_write(spdylay_buffer *buffer, const uint8_t *data,
size_t len) size_t len)
{ {
int rv; int rv;
size_t i;
while(len) { while(len) {
size_t writelen; size_t writelen;
if(spdylay_buffer_avail(buffer) == 0) { if(spdylay_buffer_avail(buffer) == 0) {

View File

@ -696,7 +696,6 @@ int spdylay_frame_unpack_syn_stream_without_nv(spdylay_syn_stream *frame,
const uint8_t *payload, const uint8_t *payload,
size_t payloadlen) size_t payloadlen)
{ {
int r;
spdylay_frame_unpack_ctrl_hd(&frame->hd, head); spdylay_frame_unpack_ctrl_hd(&frame->hd, head);
if(headlen + payloadlen != SPDYLAY_SYN_STREAM_NV_OFFSET) { if(headlen + payloadlen != SPDYLAY_SYN_STREAM_NV_OFFSET) {
return SPDYLAY_ERR_INVALID_FRAME; return SPDYLAY_ERR_INVALID_FRAME;

View File

@ -2456,7 +2456,6 @@ ssize_t spdylay_session_mem_recv(spdylay_session *session,
while(1) { while(1) {
ssize_t r; ssize_t r;
if(session->iframe.state == SPDYLAY_RECV_HEAD) { if(session->iframe.state == SPDYLAY_RECV_HEAD) {
uint32_t payloadlen;
size_t remheadbytes; size_t remheadbytes;
size_t readlen; size_t readlen;
size_t bufavail = inlimit-inmark; size_t bufavail = inlimit-inmark;