summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-09 18:43:38 +0100
committerVolker Lendecke <vl@samba.org>2010-01-09 20:37:40 +0100
commitfd92db55eb613c5189f1a4aed719f77d47b80d68 (patch)
tree2e45bf3f4b9a81da3368f454f3f7128f2f49e0ba /source3/winbindd
parentfc1757369fe73eb2bdd0336c758cdae5a0e96974 (diff)
downloadsamba-fd92db55eb613c5189f1a4aed719f77d47b80d68.tar.gz
samba-fd92db55eb613c5189f1a4aed719f77d47b80d68.tar.bz2
samba-fd92db55eb613c5189f1a4aed719f77d47b80d68.zip
s3: Remove a pointless "else" branch from add_ccache_to_list()
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_cred_cache.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_cred_cache.c b/source3/winbindd/winbindd_cred_cache.c
index e63e73221e..01b77f0a83 100644
--- a/source3/winbindd/winbindd_cred_cache.c
+++ b/source3/winbindd/winbindd_cred_cache.c
@@ -523,11 +523,10 @@ NTSTATUS add_ccache_to_list(const char *princ_name,
"user krb5 ccache %s with %s\n", ccname,
error_message(ret)));
return krb5_to_nt_status(ret);
- } else {
- DEBUG(10, ("add_ccache_to_list: successfully destroyed "
- "krb5 ccache %s for user %s\n", ccname,
- username));
}
+ DEBUG(10, ("add_ccache_to_list: successfully destroyed "
+ "krb5 ccache %s for user %s\n", ccname,
+ username));
}
#endif