summaryrefslogtreecommitdiff
path: root/infback.c
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2022-03-27 00:12:38 -0700
committerMark Adler <madler@alumni.caltech.edu>2022-03-27 01:54:10 -0700
commit76f70abbc73f8887ed42b12cf5c895b386595d59 (patch)
tree9081af11a6e9b39261632efab3ce43f545bc2f24 /infback.c
parent2014a993addbc8f1b9785d97f55fd189792c2f78 (diff)
downloadzlib-76f70abbc73f8887ed42b12cf5c895b386595d59.tar.gz
Add fallthrough comments for gcc.
Note intentional switch case fall throughs to avoid gcc warnings.
Diffstat (limited to 'infback.c')
-rw-r--r--infback.c1
1 files changed, 1 insertions, 0 deletions
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 */