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 036775385a73ede50aa254ba7bbe20169515dd45
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Sep 30 11:18:44 2019 +0100

    Fix remaining unreferenced formal parameter warnings
---
 src/native/windows/apps/prunmgr/prunmgr.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/native/windows/apps/prunmgr/prunmgr.c 
b/src/native/windows/apps/prunmgr/prunmgr.c
index 0a1e405..a1e594f 100644
--- a/src/native/windows/apps/prunmgr/prunmgr.c
+++ b/src/native/windows/apps/prunmgr/prunmgr.c
@@ -182,6 +182,7 @@ static BOOL __startServiceCallback(APXHANDLE hObject, UINT 
uMsg,
             break;
     }
     return TRUE;
+       UNREFERENCED_PARAMETER(wParam);
 }
 
 static BOOL __stopServiceCallback(APXHANDLE hObject, UINT uMsg,
@@ -1756,6 +1757,7 @@ static DWORD WINAPI refreshThread(LPVOID lpParam)
         Sleep(1000);
     }
     return 0;
+       UNREFERENCED_PARAMETER(lpParam);
 }
 
 /* Main program entry
@@ -1917,6 +1919,9 @@ cleanup:
     apxHandleManagerDestroy();
     ExitProcess(0);
     return 0;
+       UNREFERENCED_PARAMETER(hInstance);
+       UNREFERENCED_PARAMETER(hPrevInstance);
+       UNREFERENCED_PARAMETER(nCmdShow);
 }
 
 // TODO: Figure out a way to move apxSetInprocEnvironment from here and

Reply via email to