From 2363ba3749ad5c8d44334c10199589971f7241ef Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Wed, 8 Aug 2018 09:29:32 +0200 Subject: =?UTF-8?q?encodings:=20Explicitly=20say=20that=20base64=20decodin?= =?UTF-8?q?g=20falls=20through=20in=20a=20switch,=20fixes=20a=20warning=20?= =?UTF-8?q?in=20gcc=C2=A07+.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- util-src/encodings.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'util-src') diff --git a/util-src/encodings.c b/util-src/encodings.c index d85c7cf6..f7e8131f 100644 --- a/util-src/encodings.c +++ b/util-src/encodings.c @@ -79,9 +79,11 @@ static void base64_decode(luaL_Buffer *b, int c1, int c2, int c3, int c4, int n) switch(--n) { case 3: s[2] = (char) tuple; + /* Falls through. */ case 2: s[1] = (char)(tuple >> 8); + /* Falls through. */ case 1: s[0] = (char)(tuple >> 16); -- cgit v1.2.3