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 <collin.funk1@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Collin Funk committed Feb 5, 2026 at 17:46 UTC fc9fd8065c6049243f50e90f00a847054ca15e28
1 file changed +1 -1
gpg-interface.c
+1 -1
@@ -398,7 +398,7 @@ static void parse_ssh_output(struct signature_check *sigc)
398 {
399 const char *line, *principal, *search;
400 char *to_free;
401 - const char *key = NULL;
401 + const char *key;
402
403 /*
404 * ssh-keygen output should be: