1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-12-21 23:28:52 -05:00

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)
{
int rv;
size_t i;
while(len) {
size_t writelen;
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,
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;

View File

@ -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;