1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

* keyedit.c (menu_clean_uids_from_key, menu_clean_subkeys_from_key),

trustdb.c (clean_uids_from_key, clean_subkeys_from_key): Fix mingw32 build
warnings.  Noted by Joe Vender.
This commit is contained in:
David Shaw 2005-05-31 19:12:10 +00:00
parent 8639e9768e
commit db8adc2880
3 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2005-05-31 David Shaw <dshaw@jabberwocky.com>
* keyedit.c (menu_clean_uids_from_key,
menu_clean_subkeys_from_key), trustdb.c (clean_uids_from_key,
clean_subkeys_from_key): Fix mingw32 build warnings. Noted by Joe
Vender.
2005-05-31 Werner Koch <wk@g10code.com>
* keydb.h [!ENABLE_AGENT_SUPPORT]: Define dummy types.

View File

@ -3196,7 +3196,7 @@ menu_clean_uids_from_key(KBNODE keyblock)
{
if(node->pkt->pkttype==PKT_USER_ID && is_deleted_kbnode(node))
{
char *reason;
const char *reason;
char *user=utf8_to_native(node->pkt->pkt.user_id->name,
node->pkt->pkt.user_id->len,0);
@ -3231,7 +3231,7 @@ menu_clean_subkeys_from_key(KBNODE keyblock)
{
if(node->pkt->pkttype==PKT_PUBLIC_SUBKEY && is_deleted_kbnode(node))
{
char *reason;
const char *reason;
if(node->pkt->pkt.public_key->is_revoked)
reason=_("revoked");

View File

@ -1683,7 +1683,7 @@ clean_uids_from_key(KBNODE keyblock,int noisy)
if(noisy)
{
char *reason;
const char *reason;
char *user=utf8_to_native(uid->name,uid->len,0);
if(uid->is_revoked)
@ -1745,7 +1745,7 @@ clean_subkeys_from_key(KBNODE keyblock,int noisy)
if(noisy)
{
char *reason;
const char *reason;
if(pk->is_revoked)
reason=_("revoked");