From c6231e9c7baec688792e043d12508e608545fffb Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Mon, 22 Aug 2016 23:53:09 +0100 Subject: [PATCH] Remove some dead code The assignment to ret is dead, because ret is assigned again later. Reviewed-by: Tim Hudson --- crypto/bio/bf_buff.c | 1 - crypto/bio/bf_lbuf.c | 1 - 2 files changed, 2 deletions(-) diff --git a/crypto/bio/bf_buff.c b/crypto/bio/bf_buff.c index 702581e4cd..b2a387b53a 100644 --- a/crypto/bio/bf_buff.c +++ b/crypto/bio/bf_buff.c @@ -365,7 +365,6 @@ static long buffer_ctrl(BIO *b, int cmd, long num, void *ptr) } else { ctx->obuf_len = 0; ctx->obuf_off = 0; - ret = 1; break; } } diff --git a/crypto/bio/bf_lbuf.c b/crypto/bio/bf_lbuf.c index ed25b1f6c1..b3c2b5eeb6 100644 --- a/crypto/bio/bf_lbuf.c +++ b/crypto/bio/bf_lbuf.c @@ -270,7 +270,6 @@ static long linebuffer_ctrl(BIO *b, int cmd, long num, void *ptr) ctx->obuf_len -= r; } else { ctx->obuf_len = 0; - ret = 1; break; } } -- 2.25.1