From f85c5928186f29f85b03e416abb00eaa2e993981 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 12 May 2014 21:11:27 +0900 Subject: [PATCH] Fix compile error with clang -Wunreachable-code --- lib/nghttp2_session.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/nghttp2_session.c b/lib/nghttp2_session.c index 9ec26f47..63b21864 100644 --- a/lib/nghttp2_session.c +++ b/lib/nghttp2_session.c @@ -2441,8 +2441,6 @@ int nghttp2_session_send(nghttp2_session *session) /* Rewind the offset to the amount of unsent bytes */ framebufs->cur->buf.pos -= datalen - sentlen; } - - return 0; } static ssize_t session_recv(nghttp2_session *session, uint8_t *buf, size_t len)