Skip to content
Snippets Groups Projects
Commit 39c3cbdf authored by Allan McRae's avatar Allan McRae :speech_balloon:
Browse files

_alpm_key_import: Initialise fetch_key


Prevents build warning.

Signed-off-by: default avatarAllan McRae <allan@archlinux.org>
parent 165e4924
No related branches found
No related tags found
No related merge requests found
......@@ -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)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment