mirror of
https://github.com/git/git.git
synced 2026-03-01 18:24:00 +01:00
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:
committed by
Junio C Hamano
parent
4ac4705afa
commit
fc9fd8065c
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user