@leroysheep / MovieWebApp / commits / fc9fd8065c

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