diff --git a/source/common/src/tglobal.c b/source/common/src/tglobal.c index 9a63ab5013..f92e4b5f04 100644 --- a/source/common/src/tglobal.c +++ b/source/common/src/tglobal.c @@ -1329,7 +1329,7 @@ static int32_t taosSetSystemCfg(SConfig *pCfg) { SConfigItem *pItem = NULL; TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "timezone"); - if (0 == strlen(pItem->str)) { + if (0 == strlen(pItem->str)) { uError("timezone is not set"); } else { TAOS_CHECK_RETURN(osSetTimezone(pItem->str)); @@ -1360,8 +1360,6 @@ static int32_t taosSetSystemCfg(SConfig *pCfg) { tsEnableCoreFile = pItem->bval; taosSetCoreDump(tsEnableCoreFile); - TAOS_CHECK_GET_CFG_ITEM(pCfg, pItem, "assert"); - // todo tsVersion = 30000000;