public inbox for linux-nfs@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve Dickson <SteveD@RedHat.com>
To: Linux NFS Mailing list <linux-nfs@vger.kernel.org>
Subject: Re: [PATCH] query_krb5_ccache: Removed dead code that was flagged by a covscan
Date: Fri, 7 Feb 2020 11:08:56 -0500	[thread overview]
Message-ID: <dfd22831-13d8-6c8c-0452-a5aca41d5a1c@RedHat.com> (raw)
In-Reply-To: <20200207152109.20855-1-steved@redhat.com>



On 2/7/20 10:21 AM, Steve Dickson wrote:
> Signed-off-by: Steve Dickson <steved@redhat.com>
Committed... (tag: nfs-utils-2-4-3-rc7)

steved.
> ---
>  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);
> 


  reply	other threads:[~2020-02-07 16:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2020-02-07 17:25 ` Olga Kornievskaia
2020-02-08  9:21   ` Steve Dickson
2020-02-08 16:05     ` Olga Kornievskaia

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=dfd22831-13d8-6c8c-0452-a5aca41d5a1c@RedHat.com \
    --to=steved@redhat.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox