summaryrefslogtreecommitdiff
path: root/crypto/bio/bss_fd.c
diff options
context:
space:
mode:
authorBernd Edlinger <bernd.edlinger@hotmail.de>2017-05-11 16:21:37 +0200
committerRichard Levitte <levitte@openssl.org>2017-05-11 19:39:38 +0200
commit018fcbec38509cd03fb0709904a382c3bfcf5ed4 (patch)
treecb03c315ac98d80e53a0662f26d69ca9d5ceafbf /crypto/bio/bss_fd.c
parent69b4c01fd26e6eb72b156ed3014522c3295a7669 (diff)
downloadopenssl-new-018fcbec38509cd03fb0709904a382c3bfcf5ed4.tar.gz
Fix gcc-7 warnings.
- Mostly missing fall thru comments - And uninitialized value used in sslapitest.c Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3440)
Diffstat (limited to 'crypto/bio/bss_fd.c')
-rw-r--r--crypto/bio/bss_fd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/bio/bss_fd.c b/crypto/bio/bss_fd.c
index a02c65d128..49976e7f80 100644
--- a/crypto/bio/bss_fd.c
+++ b/crypto/bio/bss_fd.c
@@ -148,6 +148,7 @@ static long fd_ctrl(BIO *b, int cmd, long num, void *ptr)
switch (cmd) {
case BIO_CTRL_RESET:
num = 0;
+ /* fall thru */
case BIO_C_FILE_SEEK:
ret = (long)UP_lseek(b->num, num, 0);
break;