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 <>
parent 165e4924
......@@ -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)) {
Supports Markdown
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