refactor: remove unused ArchMiscWindows::deleteValue

This commit is contained in:
sithlord48 2025-03-22 18:49:41 -04:00 committed by Nick Bolton
parent fdd9b1bb6d
commit 6f6e9cddb7
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::deleteValue(HKEY key, const TCHAR *name)
{
assert(key != NULL);
assert(name != NULL);
if (key == NULL || name == NULL)
return;
RegDeleteValue(key, name);
}
void ArchMiscWindows::deleteKeyTree(HKEY key, const TCHAR *name)
{
assert(key != NULL);

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 value
static void deleteValue(HKEY parent, const TCHAR *name);
//! Delete a tree of keys from the registry
static void deleteKeyTree(HKEY parent, const TCHAR *name);