2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

Make this compile w/o warnings

This commit is contained in:
Todd C. Miller
2002-01-21 22:46:02 +00:00
parent a61088a434
commit d195bd7f1b

View File

@@ -162,7 +162,6 @@ pam_prep_user(pw)
{
struct pam_conv pam_conv;
pam_handle_t *pamh;
const char *s;
/* We need to setup a new PAM session for the user we are changing *to*. */
pam_conv.conv = sudo_conv;
@@ -222,7 +221,7 @@ sudo_conv(num_msg, msg, response, appdata_ptr)
p = pm->msg;
/* Read the password. */
pass = tgetpass(p, def_ival(I_PASSWD_TIMEOUT) * 60,
tgetpass_flags));
tgetpass_flags);
pr->resp = pass ? estrdup(pass) : "";
if (*pr->resp == '\0')
nil_pw = 1; /* empty password */