diff options
author | Alan T. DeKok <aland@freeradius.org> | 2017-02-08 13:35:03 -0500 |
---|---|---|
committer | Alan T. DeKok <aland@freeradius.org> | 2017-02-08 13:35:03 -0500 |
commit | a581c2149d1218b11a6a0b8a25ceec78b0a1db08 (patch) | |
tree | 810dda5bbe470c6012510f2a473a09e56713b472 | |
parent | 083214c90d93768e4628d7e0e4d56c54908aa49a (diff) | |
download | libpam-radius-auth-a581c2149d1218b11a6a0b8a25ceec78b0a1db08.tar.gz libpam-radius-auth-a581c2149d1218b11a6a0b8a25ceec78b0a1db08.zip |
fix ingored return code
-rw-r--r-- | src/pam_radius_auth.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pam_radius_auth.c b/src/pam_radius_auth.c index f3a4326..6e2c5aa 100644 --- a/src/pam_radius_auth.c +++ b/src/pam_radius_auth.c @@ -1274,7 +1274,6 @@ static int pam_private_session(pam_handle_t *pamh, int flags, int argc, CONST ch { CONST char *user; CONST char *rhost; - int ctrl; int retval = PAM_AUTH_ERR; char recv_buffer[4096]; @@ -1283,7 +1282,7 @@ static int pam_private_session(pam_handle_t *pamh, int flags, int argc, CONST ch AUTH_HDR *response = (AUTH_HDR *) recv_buffer; radius_conf_t config; - ctrl = _pam_parse(argc, argv, &config); + (void) _pam_parse(argc, argv, &config); /* grab the user name */ retval = pam_get_user(pamh, &user, NULL); |