Use fallthrough statement attribute

This commit is contained in:
Nicolas Williams
2022-01-14 16:32:04 -06:00
parent 367f9ddd7d
commit ddc6113610
17 changed files with 41 additions and 3 deletions

View File

@@ -377,6 +377,7 @@ strftime (char *buf, size_t maxsize, const char *format,
break;
case '\0' :
--format;
fallthrough
/* FALLTHROUGH */
case '%' :
ret = snprintf (buf, maxsize - n,