Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions lib/records/RecConfigParse.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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<RecConfigFileEntry *>(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:
Expand Down