Remove redundant code

This commit is contained in:
ahm3dgg
2026-01-14 06:14:45 +02:00
parent 90a9f66021
commit 86beff2867

View File

@@ -806,9 +806,9 @@ void process_context::build_knowndlls_section_table(registry_manager& registry,
}
auto known_dll_name = known_dll_name_opt.value();
q.push(known_dll_name);
utils::string::to_lower_inplace(known_dll_name);
utils::string::to_lower_inplace(known_dll_name);
q.push(known_dll_name);
visisted.insert(known_dll_name);
}
@@ -817,8 +817,6 @@ void process_context::build_knowndlls_section_table(registry_manager& registry,
auto knowndll_filename = q.front();
q.pop();
utils::string::to_lower_inplace(knowndll_filename);
std::vector<std::byte> file;
if (!utils::io::read_file(file_system.translate(system_root_path / knowndll_filename), &file))
{