From 92d421f244b88330b74a063f21e5edf433042fc7 Mon Sep 17 00:00:00 2001 From: Brian Olsen Date: Wed, 22 Sep 2021 20:13:29 +0000 Subject: [PATCH] remove unused RecConfigFileEntry from RecConfigParse --- lib/records/RecConfigParse.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/records/RecConfigParse.cc b/lib/records/RecConfigParse.cc index a97bff9c5cc..bc7e5d5185c 100644 --- a/lib/records/RecConfigParse.cc +++ b/lib/records/RecConfigParse.cc @@ -147,8 +147,6 @@ RecConfigFileParse(const char *path, RecConfigEntryCallback handler) Tokenizer line_tok("\r\n"); tok_iter_state line_tok_state; - RecConfigFileEntry *cfe; - RecDebug(DL_Note, "Reading '%s'", path); // watch out, we're altering our g_rec_config_xxx structures @@ -249,9 +247,6 @@ RecConfigFileParse(const char *path, RecConfigEntryCallback handler) handler(rec_type, data_type, name_str, value_str, value_str == data_str ? REC_SOURCE_EXPLICIT : REC_SOURCE_ENV); // update our g_rec_config_contents_xxx - cfe = static_cast(ats_malloc(sizeof(RecConfigFileEntry))); - cfe->entry_type = RECE_RECORD; - cfe->entry = ats_strdup(name_str); g_rec_config_contents_ht.emplace(name_str); L_done: