All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] query_krb5_ccache: Removed dead code that was flagged by a covscan
@ 2020-02-07 15:21 Steve Dickson
  2020-02-07 16:08 ` Steve Dickson
  2020-02-07 17:25 ` Olga Kornievskaia
  0 siblings, 2 replies; 5+ messages in thread
From: Steve Dickson @ 2020-02-07 15:21 UTC (permalink / raw)
  To: Linux NFS Mailing list

Signed-off-by: Steve Dickson <steved@redhat.com>
---
 utils/gssd/krb5_util.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/utils/gssd/krb5_util.c b/utils/gssd/krb5_util.c
index bff759f..a1c43d2 100644
--- a/utils/gssd/krb5_util.c
+++ b/utils/gssd/krb5_util.c
@@ -1066,8 +1066,6 @@ query_krb5_ccache(const char* cred_cache, char **ret_princname,
 			    *ret_realm = strdup(str+1);
 		    }
 		    k5_free_unparsed_name(context, princstring);
-		} else {
-			found = 0;
 		}
 	}
 	krb5_free_principal(context, principal);
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-02-08 16:05 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-07 15:21 [PATCH] query_krb5_ccache: Removed dead code that was flagged by a covscan Steve Dickson
2020-02-07 16:08 ` Steve Dickson
2020-02-07 17:25 ` Olga Kornievskaia
2020-02-08  9:21   ` Steve Dickson
2020-02-08 16:05     ` Olga Kornievskaia

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.