[Pcsclite-git-commit] [PCSC] 01/01: Fix compiler warning

Ludovic Rousseau rousseau at moszumanska.debian.org
Sun Mar 20 15:57:02 UTC 2016


This is an automated email from the git hooks/post-receive script.

rousseau pushed a commit to branch master
in repository PCSC.

commit f017742e379668d37fe7f9a054cdd4168fde51a8
Author: Ludovic Rousseau <ludovic.rousseau at free.fr>
Date:   Sun Mar 20 16:56:40 2016 +0100

    Fix compiler warning
    
    dyn_macosx.c:115:6: warning: unused parameter 'mayfail' [-Wunused-parameter]
            int mayfail)
                ^
---
 src/dyn_macosx.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/dyn_macosx.c b/src/dyn_macosx.c
index 5e9c98b..06d24c5 100644
--- a/src/dyn_macosx.c
+++ b/src/dyn_macosx.c
@@ -114,6 +114,7 @@ int DYN_CloseLibrary(void **pvLHandle)
 int DYN_GetAddress(void *pvLHandle, void **pvFHandle, const char *pcFunction,
 	int mayfail)
 {
+	(void)mayfail;
 
 	CFBundleRef bundle = (CFBundleRef) pvLHandle;
 	CFStringRef cfName = CFStringCreateWithCString(NULL, pcFunction,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pcsclite/PCSC.git



More information about the Pcsclite-cvs-commit mailing list