From: Jeremy Allison Date: Thu, 22 May 2008 21:19:14 +0000 (-0700) Subject: Get rid of "shadowed local var" warnings with gcc. X-Git-Tag: samba-3.3.0pre1~1168 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0bc18967aa7cb6f4debeaa48be81d0e48a7d9503;p=thirdparty%2Fsamba.git Get rid of "shadowed local var" warnings with gcc. Jeremy. --- diff --git a/source/winbindd/winbindd_pam.c b/source/winbindd/winbindd_pam.c index 2de10a9f109..f548a04d354 100644 --- a/source/winbindd/winbindd_pam.c +++ b/source/winbindd/winbindd_pam.c @@ -1290,12 +1290,12 @@ NTSTATUS winbindd_dual_pam_auth_samlogon(struct winbindd_domain *domain, uint32 logon_parameters, const char *server, const char *username, - const char *domain, + const char *ldomain, const char *workstation, - const uint8 chal[8], + const uint8 lchal[8], DATA_BLOB lm_response, DATA_BLOB nt_response, - struct netr_SamInfo3 **info3); + struct netr_SamInfo3 **linfo3); ZERO_STRUCTP(my_info3); retry = False; @@ -1868,12 +1868,12 @@ enum winbindd_result winbindd_dual_pam_auth_crap(struct winbindd_domain *domain, uint32 logon_parameters, const char *server, const char *username, - const char *domain, - const char *workstation, - const uint8 chal[8], + const char *ldomain, + const char *lworkstation, + const uint8 lchal[8], DATA_BLOB lm_response, DATA_BLOB nt_response, - struct netr_SamInfo3 **info3); + struct netr_SamInfo3 **linfo3); retry = False;