svn commit: samba r14393 - in branches/SAMBA_3_0/source: lib nsswitch

jra at samba.org jra at samba.org
Tue Mar 14 20:07:36 GMT 2006


Author: jra
Date: 2006-03-14 20:07:36 +0000 (Tue, 14 Mar 2006)
New Revision: 14393

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=14393

Log:
Fix a couple of AIX warnings.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/lib/sendfile.c
   branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/sendfile.c
===================================================================
--- branches/SAMBA_3_0/source/lib/sendfile.c	2006-03-14 18:50:55 UTC (rev 14392)
+++ branches/SAMBA_3_0/source/lib/sendfile.c	2006-03-14 20:07:36 UTC (rev 14393)
@@ -404,7 +404,6 @@
 
 ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T offset, size_t count)
 {
-	size_t total=0;
 	struct sf_parms hdtrl;
 
 	/* Set up the header/trailer struct params. */

Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2006-03-14 18:50:55 UTC (rev 14392)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cache.c	2006-03-14 20:07:36 UTC (rev 14393)
@@ -83,7 +83,9 @@
 static struct winbind_cache *get_cache(struct winbindd_domain *domain)
 {
 	struct winbind_cache *ret = wcache;
+#ifdef HAVE_ADS
 	struct winbindd_domain *our_domain = domain;
+#endif
 
 	/* we have to know what type of domain we are dealing with first */
 



More information about the samba-cvs mailing list