Fix compile error with clang -Wunreachable-code

This commit is contained in:
Tatsuhiro Tsujikawa 2014-05-12 21:11:27 +09:00
parent c9c9beddeb
commit f85c592818
1 changed files with 0 additions and 2 deletions

View File

@ -2441,8 +2441,6 @@ int nghttp2_session_send(nghttp2_session *session)
/* Rewind the offset to the amount of unsent bytes */ /* Rewind the offset to the amount of unsent bytes */
framebufs->cur->buf.pos -= datalen - sentlen; framebufs->cur->buf.pos -= datalen - sentlen;
} }
return 0;
} }
static ssize_t session_recv(nghttp2_session *session, uint8_t *buf, size_t len) static ssize_t session_recv(nghttp2_session *session, uint8_t *buf, size_t len)