diff --git a/modules/misc/webservices/json.c b/modules/misc/webservices/json.c index 26e63e80d9aed91b27af29d2b1f0c296b27e5904..0afc01c614c0c075b3850558d019e20a2b890894 100644 --- a/modules/misc/webservices/json.c +++ b/modules/misc/webservices/json.c @@ -178,6 +178,7 @@ static int new_value #define whitespace \ case '\n': ++ cur_line; cur_line_begin = i; \ + /* fall through */ \ case ' ': case '\t': case '\r' #define string_add(b) \ @@ -554,6 +555,7 @@ json_value * json_parse_ex (json_settings * settings, const json_char * json, ch break; } + /* fall through */ default: sprintf (error, "%d:%d: Unexpected `%c` in object", cur_line, e_off, b);