aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2008-05-15 23:06:12 +0000
committerKen Raeburn <raeburn@mit.edu>2008-05-15 23:06:12 +0000
commit7c0491b595a680a250f964e7ebaf28126c5653fe (patch)
tree46851a16936dcfd8018531248c7fb9abe6f0ab4b
parent0e619d5d2a3f17635a08220b866471018af435c1 (diff)
downloadkrb5-7c0491b595a680a250f964e7ebaf28126c5653fe.zip
krb5-7c0491b595a680a250f964e7ebaf28126c5653fe.tar.gz
krb5-7c0491b595a680a250f964e7ebaf28126c5653fe.tar.bz2
Don't test error code when it's known to be 0
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20319 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r--src/lib/gssapi/krb5/lucid_context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/gssapi/krb5/lucid_context.c b/src/lib/gssapi/krb5/lucid_context.c
index 0bb48b6..1e4f0bf 100644
--- a/src/lib/gssapi/krb5/lucid_context.c
+++ b/src/lib/gssapi/krb5/lucid_context.c
@@ -1,7 +1,7 @@
/*
* lib/gssapi/krb5/lucid_context.c
*
- * Copyright 2004 by the Massachusetts Institute of Technology.
+ * Copyright 2004, 2008 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
@@ -89,8 +89,6 @@ gss_krb5int_export_lucid_sec_context(
}
ctx = (krb5_gss_ctx_id_t) *context_handle;
- if (kret)
- goto error_out;
/* Externalize a structure of the right version */
switch (version) {