refactor: remove unused ArchMiscWindows::deleteKeyTree

This commit is contained in:
sithlord48
2025-03-22 18:51:57 -04:00
committed by Nick Bolton
parent 6f6e9cddb7
commit 2adee7c460
2 changed files with 0 additions and 12 deletions

View File

@ -161,15 +161,6 @@ void ArchMiscWindows::deleteKey(HKEY key, const TCHAR *name)
RegDeleteKey(key, name);
}
void ArchMiscWindows::deleteKeyTree(HKEY key, const TCHAR *name)
{
assert(key != NULL);
assert(name != NULL);
if (key == NULL || name == NULL)
return;
RegDeleteTree(key, name);
}
ArchMiscWindows::EValueType ArchMiscWindows::typeOfValue(HKEY key, const TCHAR *name)
{
DWORD type;

View File

@ -86,9 +86,6 @@ public:
//! Delete a key (which should have no subkeys)
static void deleteKey(HKEY parent, const TCHAR *name);
//! Delete a tree of keys from the registry
static void deleteKeyTree(HKEY parent, const TCHAR *name);
//! Get type of value
static EValueType typeOfValue(HKEY key, const TCHAR *name);