mirror of
git://git.gnupg.org/gnupg.git
synced 2024-12-21 10:09:57 +01:00
dirmngr: Silence compiler when it's without LDAP.
* dirmngr/ks-action.c [!USE_LDAP] (ks_action_get): NEWER is not used. * ks_action_query [!USE_LDAP] (ks_action_query): Ignore unused args. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
parent
eceba4f207
commit
30fc365124
@ -373,6 +373,8 @@ ks_action_get (ctrl_t ctrl, uri_item_t keyservers,
|
||||
|| !strcmp (uri->parsed_uri->scheme, "ldaps")
|
||||
|| !strcmp (uri->parsed_uri->scheme, "ldapi")
|
||||
|| uri->parsed_uri->opaque);
|
||||
#else
|
||||
(void)newer;
|
||||
#endif
|
||||
|
||||
if (is_hkp_s || is_http_s || is_ldap)
|
||||
@ -590,6 +592,13 @@ ks_action_query (ctrl_t ctrl, const char *url, unsigned int ks_get_flags,
|
||||
return err;
|
||||
|
||||
#else /* !USE_LDAP */
|
||||
(void)ctrl;
|
||||
(void)url;
|
||||
(void)ks_get_flags;
|
||||
(void)filter;
|
||||
(void)attrs;
|
||||
(void)newer;
|
||||
(void)outfp;
|
||||
return gpg_error (GPG_ERR_NOT_IMPLEMENTED);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user