summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/ccache/ccapi/stdcc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/lib/krb5/ccache/ccapi/stdcc.c b/src/lib/krb5/ccache/ccapi/stdcc.c
index ff3e9a836..4414abfbc 100644
--- a/src/lib/krb5/ccache/ccapi/stdcc.c
+++ b/src/lib/krb5/ccache/ccapi/stdcc.c
@@ -878,10 +878,9 @@ krb5_error_code KRB5_CALLCONV krb5_stdcc_resolve
err = cc_open(gCntrlBlock, cName, CC_CRED_V5, 0L,
&ccapi_data->NamedCache);
- if (err != CC_NOERROR) {
+ if (err != CC_NOERROR)
ccapi_data->NamedCache = NULL;
- goto errout;
- }
+
/* return new cache structure */
*id = newCache;