Commit cbe61dbc authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

str_format_meta: add assertion

(cherry picked from commit 9f09d628b136c2fe48679b320518c37f3cbc7edc)
parent ea8b7ef0
......@@ -548,6 +548,8 @@ char *str_format_meta(input_thread_t *input, const char *s)
bool b_is_format = false;
bool b_empty_if_na = false;
assert(s != NULL);
while ((c = *s) != '\0')
{
s++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment