diff --git a/src/profile.cpp b/src/profile.cpp index 5db258fa..0eb89ced 100644 --- a/src/profile.cpp +++ b/src/profile.cpp @@ -43,9 +43,6 @@ bool _app_getappinfo (size_t app_hash, EnumInfo info_key, LPVOID presult, size_t bool _app_setappinfo (size_t app_hash, EnumInfo info_key, LONG_PTR info_value) { - if (!app_hash) - return false; - PR_OBJECT ptr_app_object = _app_getappitem (app_hash); if (!ptr_app_object) @@ -59,11 +56,6 @@ bool _app_setappinfo (size_t app_hash, EnumInfo info_key, LONG_PTR info_value) { ptr_app->is_undeletable = info_value ? true : false; } - else if (info_key == InfoClearIds) - { - ptr_app->is_haveerrors = false; - ptr_app->guids.clear (); - } } _r_obj_dereference (ptr_app_object);