From a1c56e451f7c4d6503330bed01a82312b0000f7b Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 14 Mar 2006 20:07:36 +0000 Subject: [PATCH] r14393: Fix a couple of AIX warnings. Jeremy. (This used to be commit 8444c997bd3e18b1d04ebe85f06c8c6e34d7373f) --- source3/lib/sendfile.c | 1 - source3/nsswitch/winbindd_cache.c | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/source3/lib/sendfile.c b/source3/lib/sendfile.c index f9f33b8f35e..f4f6e16526f 100644 --- a/source3/lib/sendfile.c +++ b/source3/lib/sendfile.c @@ -404,7 +404,6 @@ ssize_t sys_sendfile(int tofd, int fromfd, const DATA_BLOB *header, SMB_OFF_T of 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. */ diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index cec76996c31..a9381504f2b 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -83,7 +83,9 @@ void winbindd_check_cache_size(time_t t) 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 */ -- 2.11.4.GIT