diff options
author | Christof Schmitt <christof.schmitt@us.ibm.com> | 2012-02-06 11:18:29 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-02-06 23:27:48 +0100 |
commit | 523d5a86deccb143177dbc51e575673540ef1b89 (patch) | |
tree | 7343ceb7d125c2ec22fa5c0dffed9308307d6748 /source3/winbindd | |
parent | 5fb578ee09b74c6ffa7a7ab660cc6e36fd13daef (diff) | |
download | samba-523d5a86deccb143177dbc51e575673540ef1b89.tar.gz samba-523d5a86deccb143177dbc51e575673540ef1b89.tar.xz samba-523d5a86deccb143177dbc51e575673540ef1b89.zip |
s3-winbind: Remove unused bool "local"
"local" is always False, so simply remove it and the if statement
checking its value.
Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Mon Feb 6 23:27:48 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/idmap_ad.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/source3/winbindd/idmap_ad.c b/source3/winbindd/idmap_ad.c index e19bf6893f..bfe7d4b91b 100644 --- a/source3/winbindd/idmap_ad.c +++ b/source3/winbindd/idmap_ad.c @@ -63,7 +63,6 @@ static ADS_STATUS ad_idmap_cached_connection_internal(struct idmap_domain *dom) { ADS_STRUCT *ads; ADS_STATUS status; - bool local = False; fstring dc_name; struct sockaddr_storage dc_ip; struct idmap_ad_context *ctx; @@ -101,10 +100,8 @@ static ADS_STATUS ad_idmap_cached_connection_internal(struct idmap_domain *dom) } } - if (!local) { - /* we don't want this to affect the users ccache */ - setenv("KRB5CCNAME", WINBIND_CCACHE_NAME, 1); - } + /* we don't want this to affect the users ccache */ + setenv("KRB5CCNAME", WINBIND_CCACHE_NAME, 1); /* * At this point we only have the NetBIOS domain name. |