From 11536f5b2b6290c49d05321b91847e6841b433c0 Mon Sep 17 00:00:00 2001 From: leitner Date: Sat, 6 May 2017 22:40:42 +0000 Subject: [PATCH] remove more gcc 7 warnings --- tinyldap.c | 1 + tls_connect.c | 1 + 2 files changed, 2 insertions(+) diff --git a/tinyldap.c b/tinyldap.c index ba4350d..a52b171 100644 --- a/tinyldap.c +++ b/tinyldap.c @@ -133,6 +133,7 @@ static void fixup(struct Filter* f) { buffer_putsflush(buffer_2,"\"!\n"); } } + /* fall through */ case AND: case OR: case NOT: diff --git a/tls_connect.c b/tls_connect.c index e2e84b4..ec4ab2b 100644 --- a/tls_connect.c +++ b/tls_connect.c @@ -117,6 +117,7 @@ alertfail: sc->message.l=7; r=tls_dowrite(fd,sc); if (r!=OK) return r; + /* fall through */ default: sc->state=FAIL;