mirror of
https://github.com/samba-team/samba.git
synced 2025-03-27 22:50:26 +03:00
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>
This commit is contained in:
parent
b8ed2efb50
commit
de22df1419
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user