Use fallthrough statement attribute
This commit is contained in:
@@ -515,6 +515,7 @@ xyzprintf (struct snprintf_state *state, const char *char_format, va_list ap)
|
||||
}
|
||||
case '\0' :
|
||||
--format;
|
||||
fallthrough
|
||||
/* FALLTHROUGH */
|
||||
case '%' :
|
||||
(*state->append_char)(state, c);
|
||||
|
Reference in New Issue
Block a user