From 75e852d95f8b9bda8542d13f1b98df25851f323a Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sat, 22 Mar 2025 19:01:31 -0400 Subject: [PATCH] refactor: remove unused ArchMiscWindows::readValueBinary --- src/lib/arch/win32/ArchMiscWindows.cpp | 5 ----- src/lib/arch/win32/ArchMiscWindows.h | 3 --- 2 files changed, 8 deletions(-) diff --git a/src/lib/arch/win32/ArchMiscWindows.cpp b/src/lib/arch/win32/ArchMiscWindows.cpp index 9a9f69de3..c470d0d6c 100644 --- a/src/lib/arch/win32/ArchMiscWindows.cpp +++ b/src/lib/arch/win32/ArchMiscWindows.cpp @@ -243,11 +243,6 @@ std::string ArchMiscWindows::readValueString(HKEY key, const TCHAR *name) return readBinaryOrString(key, name, REG_SZ); } -std::string ArchMiscWindows::readValueBinary(HKEY key, const TCHAR *name) -{ - return readBinaryOrString(key, name, REG_BINARY); -} - DWORD ArchMiscWindows::readValueInt(HKEY key, const TCHAR *name) { diff --git a/src/lib/arch/win32/ArchMiscWindows.h b/src/lib/arch/win32/ArchMiscWindows.h index a40897da4..f07ea56c6 100644 --- a/src/lib/arch/win32/ArchMiscWindows.h +++ b/src/lib/arch/win32/ArchMiscWindows.h @@ -101,9 +101,6 @@ public: //! Read a DWORD value from the registry static DWORD readValueInt(HKEY, const TCHAR *name); - //! Read a BINARY value from the registry - static std::string readValueBinary(HKEY, const TCHAR *name); - //! Add a dialog static void addDialog(HWND);