From: Collin Funk Date: Fri, 6 Feb 2026 01:46:10 +0000 (-0800) Subject: gpg-interface: remove an unnecessary NULL initialization X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc9fd8065c6049243f50e90f00a847054ca15e28;p=thirdparty%2Fgit.git gpg-interface: remove an unnecessary NULL initialization We assign this variable unconditionally, so we do not need to initialize it to NULL where it is defined. Signed-off-by: Collin Funk Signed-off-by: Junio C Hamano --- diff --git a/gpg-interface.c b/gpg-interface.c index 377c0cf49f..87fb6605fb 100644 --- a/gpg-interface.c +++ b/gpg-interface.c @@ -398,7 +398,7 @@ static void parse_ssh_output(struct signature_check *sigc) { const char *line, *principal, *search; char *to_free; - const char *key = NULL; + const char *key; /* * ssh-keygen output should be: