Changeset

9153:26c5a4a14905

encodings: Explicitly say that base64 decoding falls through in a switch, fixes a warning in gcc 7+.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Wed, 08 Aug 2018 09:29:32 +0200
parents 9152:bad9e8b43f50
children 9154:fd50e9c8c417
files util-src/encodings.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/encodings.c	Wed Aug 08 09:28:42 2018 +0200
+++ b/util-src/encodings.c	Wed Aug 08 09:29:32 2018 +0200
@@ -79,9 +79,11 @@
 	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);