From 76f70abbc73f8887ed42b12cf5c895b386595d59 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 27 Mar 2022 00:12:38 -0700 Subject: Add fallthrough comments for gcc. Note intentional switch case fall throughs to avoid gcc warnings. --- infback.c | 1 + 1 file changed, 1 insertion(+) (limited to 'infback.c') diff --git a/infback.c b/infback.c index 59679ec..b891bd6 100644 --- a/infback.c +++ b/infback.c @@ -477,6 +477,7 @@ void FAR *out_desc; } Tracev((stderr, "inflate: codes ok\n")); state->mode = LEN; + /* fallthrough */ case LEN: /* use inflate_fast() if we have enough input and output */ -- cgit v1.2.3-55-g6feb