diff --git a/src/lib/arch/win32/ArchMiscWindows.cpp b/src/lib/arch/win32/ArchMiscWindows.cpp index 207b91940..84024a943 100644 --- a/src/lib/arch/win32/ArchMiscWindows.cpp +++ b/src/lib/arch/win32/ArchMiscWindows.cpp @@ -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; diff --git a/src/lib/arch/win32/ArchMiscWindows.h b/src/lib/arch/win32/ArchMiscWindows.h index 47b55c1f6..f613edc4d 100644 --- a/src/lib/arch/win32/ArchMiscWindows.h +++ b/src/lib/arch/win32/ArchMiscWindows.h @@ -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);