diff options
| author | Collin Funk <collin.funk1@gmail.com> | 2026-02-05 17:46:10 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2026-02-05 17:59:19 -0800 |
| commit | fc9fd8065c6049243f50e90f00a847054ca15e28 (patch) | |
| tree | 3ca60eb81a51d3c0c610245b13f8306ea32c26ad | |
| parent | 4ac4705afa3ab660e206c2b870bfae2ddb647ffa (diff) | |
| download | git-fc9fd8065c6049243f50e90f00a847054ca15e28.tar.gz git-fc9fd8065c6049243f50e90f00a847054ca15e28.zip | |
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>
| -rw-r--r-- | gpg-interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
