summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2014-11-10 18:10:27 +0000
committerJan Cholasta <jcholast@redhat.com>2014-11-25 08:23:24 +0000
commitc8bc6b881817b4a87fbc4f99b37857d5648ceb7d (patch)
tree02777dd1023bbc9d98d1e84c6cda55e19eacccc7
parenteed7fb63789fb6349927e93e4cbd7b21db1a4f12 (diff)
downloadfreeipa-c8bc6b881817b4a87fbc4f99b37857d5648ceb7d.tar.gz
freeipa-c8bc6b881817b4a87fbc4f99b37857d5648ceb7d.tar.xz
freeipa-c8bc6b881817b4a87fbc4f99b37857d5648ceb7d.zip
Fix unchecked return value in ipa-kdb
https://fedorahosted.org/freeipa/ticket/4713 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
-rw-r--r--daemons/ipa-kdb/ipa_kdb_mspac.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemons/ipa-kdb/ipa_kdb_mspac.c b/daemons/ipa-kdb/ipa_kdb_mspac.c
index c8f6c76fb..a45000707 100644
--- a/daemons/ipa-kdb/ipa_kdb_mspac.c
+++ b/daemons/ipa-kdb/ipa_kdb_mspac.c
@@ -2070,7 +2070,7 @@ krb5_error_code ipadb_sign_authdata(krb5_context context,
krb5_princ_component(context, ks_client_princ, 1)->length,
ipactx->kdc_hostname, strlen(ipactx->kdc_hostname),
NULL, NULL, &result) == 0) {
- kerr = ipadb_reinit_mspac(ipactx, true);
+ (void)ipadb_reinit_mspac(ipactx, true);
}
}