Commit f134f2dd by Sami Kerola Committed by josé bollo

json-c: fix warning 'implicit-fallthrough'

Signed-off-by: 's avatarSami Kerola <kerolasa@iki.fi>
Acked-by: josé bollo's avatarJosé Bollo <jobol@nonadev.net>
parent 1575f4b5
......@@ -93,7 +93,7 @@ static char *key(char **head, int isptr)
while (c && c != '/') {
if (c == '~')
switch (i[1]) {
case '1': c = '/';
case '1': c = '/'; /*@fallthrough@*/
case '0': i++;
}
*w++ = c;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment