From fc9fd8065c6049243f50e90f00a847054ca15e28 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Thu, 5 Feb 2026 17:46:10 -0800 Subject: [PATCH] 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 --- gpg-interface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.3