From 22d1e39948304e5852325088cf04c74deba53fa4 Mon Sep 17 00:00:00 2001 From: Philip Prindeville Date: Sun, 31 Dec 2017 13:34:51 -0700 Subject: Fix 'unused' warnings when building with clang/llvm --- support.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'support.c') diff --git a/support.c b/support.c index 2406b32..ad45580 100644 --- a/support.c +++ b/support.c @@ -109,14 +109,12 @@ int converse(pam_handle_t * pamh, int nargs, const struct pam_message *message, } /* stolen from pam_stress */ -int tacacs_get_password (pam_handle_t * pamh, int flags, +int tacacs_get_password (pam_handle_t * pamh, int flags __Unused, int ctrl, char **password) { const void *pam_pass; char *pass = NULL; - flags = flags; /* unused */ - if (ctrl & PAM_TAC_DEBUG) syslog (LOG_DEBUG, "%s: called", __FUNCTION__); -- cgit v1.2.3