From 532d1166fdbc5f214b27f2813eb67771fd7feb6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Tue, 28 Apr 2015 08:20:39 -0700 Subject: [PATCH] remove always true condition --- lib/gssapi/krb5/add_cred.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gssapi/krb5/add_cred.c b/lib/gssapi/krb5/add_cred.c index 1d498c157..9bafca9a8 100644 --- a/lib/gssapi/krb5/add_cred.c +++ b/lib/gssapi/krb5/add_cred.c @@ -85,7 +85,7 @@ OM_uint32 GSSAPI_CALLCONV _gsskrb5_add_cred ( if (major != GSS_S_COMPLETE) goto failure; - } else if (cred != NULL) { + } else { /* * Check that we're done or copy input to output if * output_cred_handle != NULL.