refactor: remove unused ArchMiscWindows::deleteKeyTree
This commit is contained in:
@ -161,15 +161,6 @@ void ArchMiscWindows::deleteKey(HKEY key, const TCHAR *name)
|
|||||||
RegDeleteKey(key, 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)
|
ArchMiscWindows::EValueType ArchMiscWindows::typeOfValue(HKEY key, const TCHAR *name)
|
||||||
{
|
{
|
||||||
DWORD type;
|
DWORD type;
|
||||||
|
|||||||
@ -86,9 +86,6 @@ public:
|
|||||||
//! Delete a key (which should have no subkeys)
|
//! Delete a key (which should have no subkeys)
|
||||||
static void deleteKey(HKEY parent, const TCHAR *name);
|
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
|
//! Get type of value
|
||||||
static EValueType typeOfValue(HKEY key, const TCHAR *name);
|
static EValueType typeOfValue(HKEY key, const TCHAR *name);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user