mirror of
https://github.com/henrypp/simplewall.git
synced 2026-10-22 02:52:54 -05:00
remove _app_setappinfo info set code
This commit is contained in:
1 file changed
-8
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user