e3ffab
From 253b6378741d4de5ca68fb60351ae22156a96359 Mon Sep 17 00:00:00 2001
e3ffab
From: Jan Cholasta <jcholast@redhat.com>
e3ffab
Date: Mon, 10 Nov 2014 18:10:27 +0000
e3ffab
Subject: [PATCH] Fix unchecked return value in ipa-kdb
e3ffab
e3ffab
https://fedorahosted.org/freeipa/ticket/4713
e3ffab
e3ffab
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
e3ffab
---
e3ffab
 daemons/ipa-kdb/ipa_kdb_mspac.c | 2 +-
e3ffab
 1 file changed, 1 insertion(+), 1 deletion(-)
e3ffab
e3ffab
diff --git a/daemons/ipa-kdb/ipa_kdb_mspac.c b/daemons/ipa-kdb/ipa_kdb_mspac.c
e3ffab
index c8f6c76fb5b3bc7d47ec8a1551579d53d226027e..a4500070760e83994c8155a12ee6414b5ebee9e0 100644
e3ffab
--- a/daemons/ipa-kdb/ipa_kdb_mspac.c
e3ffab
+++ b/daemons/ipa-kdb/ipa_kdb_mspac.c
e3ffab
@@ -2070,7 +2070,7 @@ krb5_error_code ipadb_sign_authdata(krb5_context context,
e3ffab
                             krb5_princ_component(context, ks_client_princ, 1)->length,
e3ffab
                             ipactx->kdc_hostname, strlen(ipactx->kdc_hostname),
e3ffab
                             NULL, NULL, &result) == 0) {
e3ffab
-                kerr = ipadb_reinit_mspac(ipactx, true);
e3ffab
+                (void)ipadb_reinit_mspac(ipactx, true);
e3ffab
             }
e3ffab
         }
e3ffab
 
e3ffab
-- 
e3ffab
2.1.0
e3ffab