From 741dadfced5863ea96ff68ef335141edf3fb7f92 Mon Sep 17 00:00:00 2001 From: ahm3dgg Date: Wed, 7 Jan 2026 08:54:05 +0200 Subject: [PATCH] Remove redundant code --- src/windows-emulator/process_context.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/windows-emulator/process_context.cpp b/src/windows-emulator/process_context.cpp index a7243ba2..d8f101f2 100644 --- a/src/windows-emulator/process_context.cpp +++ b/src/windows-emulator/process_context.cpp @@ -236,7 +236,6 @@ namespace const auto* api_set_data = reinterpret_cast(apiset_container.data.data()); auto apiset = get_apiset_namespace_table(api_set_data); - std::unordered_set visited_dlls; windows_path system_root_path; std::filesystem::path local_system_root_path; @@ -287,10 +286,6 @@ namespace } utils::string::to_lower_inplace(known_dll_name); - if (visited_dlls.contains(known_dll_name)) - { - continue; - } auto file = utils::io::read_file(known_dll_path); { @@ -367,8 +362,6 @@ namespace knowndlls_section_objects[known_dll_dep_name_16] = s; } } - - visited_dlls.insert(known_dll_name); } } }