You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ma...@apache.org on 2019/09/30 10:19:23 UTC

[commons-daemon] 02/08: Remove unused code

This is an automated email from the ASF dual-hosted git repository.

markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-daemon.git

commit 6e6e19d92ee5e9ceaa99f5ccc6d356f2f007c945
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Sep 30 10:14:28 2019 +0100

    Remove unused code
---
 src/native/windows/src/registry.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/native/windows/src/registry.c b/src/native/windows/src/registry.c
index d5f1958..cd44952 100644
--- a/src/native/windows/src/registry.c
+++ b/src/native/windows/src/registry.c
@@ -650,7 +650,6 @@ apxRegistryDeleteW(APXHANDLE hRegistry, DWORD dwFrom,
 {
     LPAPXREGISTRY lpReg;
     HKEY          hKey, hSub = NULL;
-    DWORD         dwType = REG_SZ;
     if (IS_INVALID_HANDLE(hRegistry) ||
         hRegistry->dwType != APXHANDLE_TYPE_REGISTRY)
         return FALSE;