Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Kókai Péter
Pacman
Commits
39c3cbdf
Commit
39c3cbdf
authored
Sep 05, 2021
by
Allan McRae
Browse files
_alpm_key_import: Initialise fetch_key
Prevents build warning. Signed-off-by:
Allan McRae
<
allan@archlinux.org
>
parent
165e4924
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/libalpm/signing.c
View file @
39c3cbdf
...
...
@@ -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
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment