solve some static check questions

This commit is contained in:
fang 2019-12-10 09:41:10 +08:00
parent c2a2c575a1
commit 959b6ec95c
1 changed files with 1 additions and 0 deletions

View File

@ -106,6 +106,7 @@ char **strsplit(char *z, const char *delim, int32_t *num) {
if ((*num) >= size) {
size = (size << 1);
split = realloc(split, POINTER_BYTES * size);
assert(NULL != split);
}
}