aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_issue
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@strace.io>2024-07-28 08:00:00 +0000
committerDmitry V. Levin <ldv@strace.io>2024-07-28 08:00:00 +0000
commitc8dbebd410d7643b3577ce786e6634635106f877 (patch)
treeffa56a0f95f44f9fddd8a3f891fe1b55c5ac0e25 /modules/pam_issue
parentfa3295e079dbbc241906f29bde5fb71bc4172771 (diff)
downloadpam-c8dbebd410d7643b3577ce786e6634635106f877.tar.gz
pam-c8dbebd410d7643b3577ce786e6634635106f877.tar.bz2
pam-c8dbebd410d7643b3577ce786e6634635106f877.zip
pam_faillock: silence compilation warning
Since audit_log_acct_message() was decorated with warn_unused_result attribute, compilation of faillock helper produces the following diagnostics: main.c: In function 'do_user': main.c:250:25: warning: ignoring return value of 'audit_log_acct_message' declared with attribute 'warn_unused_result' [-Wunused-result] Given that this helper has never been picky about audit, e.g. audit_open() errors do not affect its exit status, just silence this new warning. * modules/pam_faillock/main.c [HAVE_LIBAUDIT] (do_user): Silence compilation warning.
Diffstat (limited to 'modules/pam_issue')
0 files changed, 0 insertions, 0 deletions