diff --git a/src/lib/arch/win32/ArchMiscWindows.cpp b/src/lib/arch/win32/ArchMiscWindows.cpp index a1966cdf1..207b91940 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::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); diff --git a/src/lib/arch/win32/ArchMiscWindows.h b/src/lib/arch/win32/ArchMiscWindows.h index 9caf9a9f7..47b55c1f6 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 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);