s3: Remove a pointless "else" branch from add_ccache_to_list()
authorVolker Lendecke <vl@samba.org>
Sat, 9 Jan 2010 17:43:38 +0000 (18:43 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 9 Jan 2010 19:37:40 +0000 (20:37 +0100)
source3/winbindd/winbindd_cred_cache.c

index e63e73221e2cffe0b4c5294b9c9c29707a14a38c..01b77f0a837350344c36eb9382146d2927c1d851 100644 (file)
@@ -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