diff options
author | Richard Levitte <levitte@openssl.org> | 2015-01-29 01:54:09 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2015-01-29 01:54:09 +0100 |
commit | c6ef15c494e49ecc505156c8063474b20e29ef6a (patch) | |
tree | accf01dca71f3c74a0c60aa879645cae8d99c2e4 /crypto/evp | |
parent | 7317192c645f24dfdb0c8340b871bc045454f8f4 (diff) | |
download | openssl-c6ef15c494e49ecc505156c8063474b20e29ef6a.tar.gz |
clang on Linux x86_64 complains about unreachable code.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/evp')
-rw-r--r-- | crypto/evp/evp_enc.c | 1 | ||||
-rw-r--r-- | crypto/evp/evp_pkey.c | 2 | ||||
-rw-r--r-- | crypto/evp/evp_test.c | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/crypto/evp/evp_enc.c b/crypto/evp/evp_enc.c index 111351852e..3d40b0481b 100644 --- a/crypto/evp/evp_enc.c +++ b/crypto/evp/evp_enc.c @@ -227,7 +227,6 @@ int EVP_CipherInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *cipher, default: return 0; - break; } } diff --git a/crypto/evp/evp_pkey.c b/crypto/evp/evp_pkey.c index 6a456297bc..52c9a8690f 100644 --- a/crypto/evp/evp_pkey.c +++ b/crypto/evp/evp_pkey.c @@ -152,13 +152,11 @@ PKCS8_PRIV_KEY_INFO *PKCS8_set_broken(PKCS8_PRIV_KEY_INFO *p8, int broken) case PKCS8_OK: p8->broken = PKCS8_OK; return p8; - break; case PKCS8_NO_OCTET: p8->broken = PKCS8_NO_OCTET; p8->pkey->type = V_ASN1_SEQUENCE; return p8; - break; default: EVPerr(EVP_F_PKCS8_SET_BROKEN, EVP_R_PKCS8_UNKNOWN_BROKEN_TYPE); diff --git a/crypto/evp/evp_test.c b/crypto/evp/evp_test.c index 597b9fe23c..b356131d64 100644 --- a/crypto/evp/evp_test.c +++ b/crypto/evp/evp_test.c @@ -126,7 +126,6 @@ static unsigned char *ustrsep(char **p, const char *sep) static int test1_exit(int ec) { EXIT(ec); - return (0); /* To keep some compilers quiet */ } /* Test copying of contexts */ |