summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-03-14 20:07:36 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:28 -0500
commita1c56e451f7c4d6503330bed01a82312b0000f7b (patch)
tree33cdf1c0f9feef662800c451197f91cf8d54e25a /source3/nsswitch
parenta8dd32649bfccb6af3757a04f14b1ee22a663051 (diff)
downloadsamba-a1c56e451f7c4d6503330bed01a82312b0000f7b.tar.gz
samba-a1c56e451f7c4d6503330bed01a82312b0000f7b.tar.bz2
samba-a1c56e451f7c4d6503330bed01a82312b0000f7b.zip
r14393: Fix a couple of AIX warnings.
Jeremy. (This used to be commit 8444c997bd3e18b1d04ebe85f06c8c6e34d7373f)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_cache.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index cec76996c3..a9381504f2 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 */