Author: vlendec Date: 2006-05-16 15:14:39 +0000 (Tue, 16 May 2006) New Revision: 15635
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15635 Log: Fix a bogus gcc uninit variable message Modified: branches/SAMBA_3_0/source/libads/ldap.c trunk/source/libads/ldap.c Changeset: Modified: branches/SAMBA_3_0/source/libads/ldap.c =================================================================== --- branches/SAMBA_3_0/source/libads/ldap.c 2006-05-16 14:29:39 UTC (rev 15634) +++ branches/SAMBA_3_0/source/libads/ldap.c 2006-05-16 15:14:39 UTC (rev 15635) @@ -2473,7 +2473,7 @@ BOOL ret = False; TALLOC_CTX *ctx = NULL; const char *gidnumber, *uidnumber, *homedir, *shell, *gecos; - char *schema_path; + char *schema_path = NULL; ADS_STRUCT *ads_s = ads; ADS_STATUS status; Modified: trunk/source/libads/ldap.c =================================================================== --- trunk/source/libads/ldap.c 2006-05-16 14:29:39 UTC (rev 15634) +++ trunk/source/libads/ldap.c 2006-05-16 15:14:39 UTC (rev 15635) @@ -2473,7 +2473,7 @@ BOOL ret = False; TALLOC_CTX *ctx = NULL; const char *gidnumber, *uidnumber, *homedir, *shell, *gecos; - char *schema_path; + char *schema_path = NULL; ADS_STRUCT *ads_s = ads; ADS_STATUS status;