From de22df1419d205a5baf1ad1a4779ef2afe51f0f9 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 6 Dec 2012 15:16:52 +0100 Subject: nsswitch: Remove unused variable in _pam_winbind_change_pwd(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Andreas Schneider Reviewed-by: Günther Deschner --- nsswitch/pam_winbind.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'nsswitch') 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) { -- cgit