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>
This commit is contained in:
Collin Funk
2026-02-05 17:46:10 -08:00
committed by Junio C Hamano
parent 4ac4705afa
commit fc9fd8065c

View File

@@ -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: