1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-14 00:19:50 +02:00

Fix two unused/possible-uninitialized var warnings.

--
This commit is contained in:
Werner Koch 2015-10-08 14:58:26 +02:00
parent b6d621583f
commit a2600e42f9
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 1 additions and 2 deletions

View File

@ -36,7 +36,7 @@ amkdir_p (char **directory_components)
int count; int count;
char **dirs; char **dirs;
int i; int i;
int rc; int rc = 0;
for (count = 0; directory_components[count]; count ++) for (count = 0; directory_components[count]; count ++)
; ;

View File

@ -293,7 +293,6 @@ print_and_check_one_sig (KBNODE keyblock, KBNODE node,
{ {
PKT_public_key *pk = keyblock->pkt->pkt.public_key; PKT_public_key *pk = keyblock->pkt->pkt.public_key;
const unsigned char *s; const unsigned char *s;
u32 expire;
s = parse_sig_subpkt (sig->hashed, SIGSUBPKT_PRIMARY_UID, NULL); s = parse_sig_subpkt (sig->hashed, SIGSUBPKT_PRIMARY_UID, NULL);
if (s && *s) if (s && *s)