diff options
author | Philip Prindeville <philipp@redfish-solutions.com> | 2018-01-03 11:56:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-03 11:56:23 -0700 |
commit | 4c0616f2f0f6f7f24a265d46c861da006e4c3175 (patch) | |
tree | 217a58c81029484ea5914bebfd2834b05d5e5d0d /support.c | |
parent | 42ce91f24a4961a5b6a08c0f0938248d099454b2 (diff) | |
parent | 22d1e39948304e5852325088cf04c74deba53fa4 (diff) | |
download | pam_tacplus-4c0616f2f0f6f7f24a265d46c861da006e4c3175.tar.gz pam_tacplus-4c0616f2f0f6f7f24a265d46c861da006e4c3175.zip |
Merge pull request #106 from pprindeville/alt-fix-for-unused
Fix 'unused' warnings when building with clang/llvm
Diffstat (limited to 'support.c')
-rw-r--r-- | support.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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__); |