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)
|
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) {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue