From a0ad33d6ff52120639840501ebb9a0ea2f29fb2e Mon Sep 17 00:00:00 2001 From: "Edward A. Lee" Date: Fri, 2 Feb 2024 15:44:44 -0800 Subject: [PATCH] Trivial warning fix --- core/environment.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/environment.c b/core/environment.c index 7d5981181..e51667a67 100644 --- a/core/environment.c +++ b/core/environment.c @@ -116,7 +116,8 @@ static void environment_init_federated(environment_t* env, int num_is_present_fi LF_ASSERT(env->_lf_intended_tag_fields, "Out of memory"); env->_lf_intended_tag_fields_size = num_is_present_fields; } else { - env->_lf_intended_tag_fields_size = NULL; + env->_lf_intended_tag_fields = NULL; + env->_lf_intended_tag_fields_size = 0; } #endif }