Commit 39c3cbdf authored by Allan McRae's avatar Allan McRae
Browse files

_alpm_key_import: Initialise fetch_key



Prevents build warning.
Signed-off-by: Allan McRae's avatarAllan McRae <allan@archlinux.org>
parent 165e4924
Pipeline #10915 passed with stage
in 2 minutes and 42 seconds
......@@ -495,7 +495,7 @@ static int email_from_uid(const char *uid, char **email)
int _alpm_key_import(alpm_handle_t *handle, const char *uid, const char *fpr)
{
int ret = -1;
alpm_pgpkey_t fetch_key;
alpm_pgpkey_t fetch_key = {0};
char *email;
if(_alpm_access(handle, handle->gpgdir, "pubring.gpg", W_OK)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment