The branch, master has been updated via fcab3d6... libwbclient: Remove a pointless variable from 9740259... buildtools/wafsamba: make sure CHECK_FUNC() and CHECK_VARIABLE() work with -O3 in the CFLAGS
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit fcab3d64f496693c70cc1ff1bcf1cf439a15fcf1 Author: Volker Lendecke <v...@samba.org> Date: Tue Apr 13 12:27:18 2010 +0200 libwbclient: Remove a pointless variable ----------------------------------------------------------------------- Summary of changes: nsswitch/libwbclient/wbc_pam.c | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) Changeset truncated at 500 lines: diff --git a/nsswitch/libwbclient/wbc_pam.c b/nsswitch/libwbclient/wbc_pam.c index b35284b..8cc4c71 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); -- Samba Shared Repository