diff options
author | Andreas Schneider <asn@samba.org> | 2012-12-06 15:16:52 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-12-12 15:00:02 +0100 |
commit | de22df1419d205a5baf1ad1a4779ef2afe51f0f9 (patch) | |
tree | 55f16a90ef67de98b4b1fb3869682255c0009f3c | |
parent | b8ed2efb50b4a689e02b86d4c626d96ee7b2717f (diff) | |
download | samba-de22df1419d205a5baf1ad1a4779ef2afe51f0f9.tar.gz samba-de22df1419d205a5baf1ad1a4779ef2afe51f0f9.tar.bz2 samba-de22df1419d205a5baf1ad1a4779ef2afe51f0f9.zip |
nsswitch: Remove unused variable in _pam_winbind_change_pwd().
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Günther Deschner <gd@samba.org>
-rw-r--r-- | nsswitch/pam_winbind.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nsswitch/pam_winbind.c b/nsswitch/pam_winbind.c index 29d6f7c7bc..d4df8b169a 100644 --- a/nsswitch/pam_winbind.c +++ b/nsswitch/pam_winbind.c @@ -812,13 +812,11 @@ static bool _pam_winbind_change_pwd(struct pwb_context *ctx) { struct pam_message msg, *pmsg; struct pam_response *resp = NULL; - const char *prompt; int ret; bool retval = false; - prompt = _("Do you want to change your password now?"); pmsg = &msg; msg.msg_style = PAM_RADIO_TYPE; - msg.msg = prompt; + msg.msg = _("Do you want to change your password now?"); ret = converse(ctx->pamh, 1, &pmsg, &resp); if (resp == NULL) { if (ret == PAM_SUCCESS) { |