提交 959b6ec9 编写于 作者: F fang

solve some static check questions

上级 c2a2c575
...@@ -106,6 +106,7 @@ char **strsplit(char *z, const char *delim, int32_t *num) { ...@@ -106,6 +106,7 @@ char **strsplit(char *z, const char *delim, int32_t *num) {
if ((*num) >= size) { if ((*num) >= size) {
size = (size << 1); size = (size << 1);
split = realloc(split, POINTER_BYTES * size); split = realloc(split, POINTER_BYTES * size);
assert(NULL != split);
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册