diff --git a/src/ssl_sock.c b/src/ssl_sock.c index e4dd913a4..124b2c602 100644 --- a/src/ssl_sock.c +++ b/src/ssl_sock.c @@ -6537,7 +6537,6 @@ static size_t ssl_sock_to_buf(struct connection *conn, void *xprt_ctx, struct bu * EINTR too. */ while (count > 0) { - int need_out = 0; try = b_contig_space(buf); if (!try) @@ -6595,8 +6594,6 @@ static size_t ssl_sock_to_buf(struct connection *conn, void *xprt_ctx, struct bu /* otherwise it's a real error */ goto out_error; } - if (need_out) - break; } leave: return done;