diff options
author | Volker Lendecke <vl@samba.org> | 2010-04-13 12:27:18 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-04-13 13:28:39 +0200 |
commit | fcab3d64f496693c70cc1ff1bcf1cf439a15fcf1 (patch) | |
tree | e613bc1aea62600530b85e91a781d47d4487d374 | |
parent | 974025944e6bd59a79638f185a6268903f396fa6 (diff) | |
download | samba-fcab3d64f496693c70cc1ff1bcf1cf439a15fcf1.tar.gz |
libwbclient: Remove a pointless variable
-rw-r--r-- | nsswitch/libwbclient/wbc_pam.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c index b35284b2439..8cc4c716428 100644 --- a/nsswitch/libwbclient/wbc_pam.c +++ b/nsswitch/libwbclient/wbc_pam.c @@ -965,7 +965,6 @@ wbcErr wbcLogonUser(const struct wbcLogonUserParams *params, struct wbcUserPasswordPolicyInfo **policy) { wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE; - int cmd = 0; struct winbindd_request request; struct winbindd_response response; uint32_t i; @@ -1004,7 +1003,6 @@ wbcErr wbcLogonUser(const struct wbcLogonUserParams *params, /* Initialize request */ - cmd = WINBINDD_PAM_AUTH; request.flags = WBFLAG_PAM_INFO3_TEXT | WBFLAG_PAM_USER_SESSION_KEY | WBFLAG_PAM_LMKEY; @@ -1066,7 +1064,7 @@ wbcErr wbcLogonUser(const struct wbcLogonUserParams *params, } } - wbc_status = wbcRequestResponse(cmd, + wbc_status = wbcRequestResponse(WINBINDD_PAM_AUTH, &request, &response); |