Use fallthrough statement attribute
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user