diff --git a/src/share/schema/ob_schema_struct.cpp b/src/share/schema/ob_schema_struct.cpp index 49a933760001aacbcc97317ff9ca9174151db224..e5263d25baf6e55b56977eccf39ebebd3919d81d 100644 --- a/src/share/schema/ob_schema_struct.cpp +++ b/src/share/schema/ob_schema_struct.cpp @@ -752,8 +752,8 @@ OB_DEF_SERIALIZE(ObSysVariableSchema) int ObSysVariableSchema::add_sysvar_schema(const ObSysVarSchema& sysvar_schema) { int ret = OB_SUCCESS; - ObSysVarSchema* tmp_sysvar_schema = NULL; void* ptr = NULL; + ObSysVarSchema* tmp_sysvar_schema = NULL; ObSysVarClassType var_id = ObSysVarFactory::find_sys_var_id_by_name(sysvar_schema.get_name(), true); int64_t var_idx = OB_INVALID_INDEX; if (OB_UNLIKELY(SYS_VAR_INVALID == var_id)) {