diff options
author | Alexander Köplinger <alex.koeplinger@outlook.com> | 2021-04-29 16:22:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-29 16:22:12 +0300 |
commit | 9bd009e711ecc4f83f0b94cebff69cc02ce5e219 (patch) | |
tree | 6304ff6a1e90f50a6e7870e5313ca20af324b55d | |
parent | 861ff461bed6903f3594054a3a1e4ac322bfe830 (diff) |
Fix warning C4065: switch statement contains 'default' but no 'case' labels
-rw-r--r-- | crypto/bio/buffer.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/crypto/bio/buffer.c b/crypto/bio/buffer.c index 15574510..ebc3c1d0 100644 --- a/crypto/bio/buffer.c +++ b/crypto/bio/buffer.c @@ -417,11 +417,8 @@ static long buffer_callback_ctrl(BIO *b, int cmd, bio_info_cb fp) { return 0; } - switch (cmd) { - default: - ret = BIO_callback_ctrl(b->next_bio, cmd, fp); - break; - } + ret = BIO_callback_ctrl(b->next_bio, cmd, fp); + return ret; } |