提交 ddcfa4c7 编写于 作者: H Hongze Cheng

fix a coverity scan problem

上级 9b0bfc89
......@@ -35,8 +35,6 @@ extern "C" {
typedef uint32_t TSCKSUM;
static FORCE_INLINE TSCKSUM taosCalcChecksum(TSCKSUM csi, const uint8_t *stream, uint32_t ssize) {
assert(ssize >= 0 && stream != NULL);
return (*crc32c)(csi, stream, (size_t)ssize);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册