fix: 删除多余内存占用

Signed-off-by: 大橙子疯 <const_zpc@163.com>
This commit is contained in:
大橙子疯 2024-02-03 15:32:49 +00:00 committed by Gitee
parent 8a7764eb05
commit 270b38ca34
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -33,7 +33,7 @@ typedef union
int64_t s64val; int64_t s64val;
double fVal; double fVal;
#if COT_PARAM_USE_STRING_TYPE #if COT_PARAM_USE_STRING_TYPE
char str[COT_PARAM_STRING_MAX_LENGTH + 2]; char str[COT_PARAM_STRING_MAX_LENGTH];
#endif #endif
} Value_u; } Value_u;