Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Köplinger <alex.koeplinger@outlook.com>2021-04-29 16:22:12 +0300
committerGitHub <noreply@github.com>2021-04-29 16:22:12 +0300
commit9bd009e711ecc4f83f0b94cebff69cc02ce5e219 (patch)
tree6304ff6a1e90f50a6e7870e5313ca20af324b55d
parent861ff461bed6903f3594054a3a1e4ac322bfe830 (diff)
Fix warning C4065: switch statement contains 'default' but no 'case' labels
-rw-r--r--crypto/bio/buffer.c7
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;
}