pam_end() already contains a NULL check, and it is not unreasonable to

call it with a NULL pamh in a cleanup / error-handling situation.  Remove
OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@432 185d5e19-27fe-0310-9dcf-9bff6b9f3609
This commit is contained in:
Dag-Erling Smørgrav 2010-03-10 11:23:21 +00:00
parent e68b52afcd
commit d62a8932a7
1 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,7 @@ pam_close_session(pam_handle_t *_pamh,
int
pam_end(pam_handle_t *_pamh,
int _status)
OPENPAM_NONNULL((1));
int _status);
int
pam_get_data(const pam_handle_t *_pamh,