pleasing cppcheck?

This commit is contained in:
Boris Faure 2020-04-17 00:01:32 +02:00
parent 16f750bee6
commit a848b0262f
Signed by: borisfaure
GPG Key ID: 35C0410516166BE8
1 changed files with 1 additions and 0 deletions

View File

@ -250,6 +250,7 @@ _codepoint_buf_append(struct Codepoints_Buf *buf,
return -1;
}
buf->codepoints = codepoints;
codepoints = NULL;
}
buf->codepoints[buf->len++] = u;
return 0;