diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2020-03-19 18:40:16 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2020-03-19 18:40:16 +0000 |
commit | 15afe62e9b6eec7913ae7ac67c888084fb8c6fe0 (patch) | |
tree | ff65b59cb6152ee48bd9ee237403bc20fe7e7107 /modules/pam_unix/passverify.c | |
parent | a6c963b6f8e8dffccdcb9642d49c908fa912b171 (diff) | |
download | pam-15afe62e9b6eec7913ae7ac67c888084fb8c6fe0.tar.gz pam-15afe62e9b6eec7913ae7ac67c888084fb8c6fe0.tar.bz2 pam-15afe62e9b6eec7913ae7ac67c888084fb8c6fe0.zip |
modules/pam_access: fix compilation warning
Fix the following compilation warning reported by gcc
when HAVE_LIBAUDIT is not set:
modules/pam_access/pam_access.c: In function ‘login_access’:
modules/pam_access/pam_access.c:338:13: warning: variable ‘nonall_match’ set but not used [-Wunused-but-set-variable]
338 | int nonall_match = NO;
| ^~~~~~~~~~~~
* modules/pam_access/pam_access.c (login_access): Enclose nonall_match
variable with HAVE_LIBAUDIT #ifdef's.
Diffstat (limited to 'modules/pam_unix/passverify.c')
0 files changed, 0 insertions, 0 deletions