add missing break, quiet clang analyzer
This commit is contained in:
@@ -286,7 +286,7 @@ strftime (char *buf, size_t maxsize, const char *format,
|
||||
"%02d:%02d",
|
||||
tm->tm_hour,
|
||||
tm->tm_min);
|
||||
|
||||
break;
|
||||
case 's' :
|
||||
ret = snprintf (buf, maxsize - n,
|
||||
"%d", (int)mktime(rk_UNCONST(tm)));
|
||||
@@ -392,6 +392,6 @@ strftime (char *buf, size_t maxsize, const char *format,
|
||||
++n;
|
||||
}
|
||||
}
|
||||
*buf++ = '\0';
|
||||
*buf = '\0';
|
||||
return n;
|
||||
}
|
||||
|
Reference in New Issue
Block a user