| 64 | */ |
| 65 | |
| 66 | static const char *get_length(const char *fmt, size_t *length, uint *pre_zero) |
| 67 | { |
| 68 | for (; my_isdigit(&my_charset_latin1, *fmt); fmt++) |
| 69 | { |
| 70 | *length= *length * 10 + (uint)(*fmt - '0'); |
| 71 | if (!*length) |
| 72 | *pre_zero|= PREZERO_ARG; /* first digit was 0 */ |
| 73 | } |
| 74 | return fmt; |
| 75 | } |
| 76 | |
| 77 | |
| 78 | /** |
no outgoing calls
no test coverage detected