diff options
author | Matt Caswell <matt@openssl.org> | 2019-06-11 13:27:45 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2019-06-11 15:23:13 +0100 |
commit | c4376aed029f10b1c6cd0fd26e0c111e55bf3ab0 (patch) | |
tree | 084171feda65ae41d2abab8f0f647e7877761734 /crypto/bio | |
parent | b658421823c997586f16d1edc4351448c90c86a8 (diff) |
Move a fall through comment
When compiling with --strict-warnings using gcc 7.4.0 the compiler
complains that a case falls through, even though there is an explicit
comment stating this. Moving the comment outside of the conditional
compilation section resolves this.
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9131)
(cherry picked from commit a2e520447e17a58b52cdf41ab1218b020f44e4a6)
Diffstat (limited to 'crypto/bio')
-rw-r--r-- | crypto/bio/b_addr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/bio/b_addr.c b/crypto/bio/b_addr.c index 5ce473e1a3..1619ab586b 100644 --- a/crypto/bio/b_addr.c +++ b/crypto/bio/b_addr.c @@ -718,8 +718,8 @@ int BIO_lookup_ex(const char *host, const char *service, int lookup_type, hints.ai_flags &= ~AI_ADDRCONFIG; goto retry; } - /* fall through */ # endif + /* fall through */ default: BIOerr(BIO_F_BIO_LOOKUP_EX, ERR_R_SYS_LIB); ERR_add_error_data(1, gai_strerror(gai_ret)); |