aboutsummaryrefslogtreecommitdiffstats
path: root/g10/pkclist.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2006-07-26 11:25:36 +0000
committerWerner Koch <[email protected]>2006-07-26 11:25:36 +0000
commitccd5fc47589e63acc123847c41ae65bcd9bf445f (patch)
treee395f0558c2f32f1ac738bbf5876680346efcc86 /g10/pkclist.c
parent * curl-shim.c (curl_easy_perform): Minor cleanup of proxy code. (diff)
downloadgnupg-ccd5fc47589e63acc123847c41ae65bcd9bf445f.tar.gz
gnupg-ccd5fc47589e63acc123847c41ae65bcd9bf445f.zip
Fixed memory allocation bug and typos.
Diffstat (limited to 'g10/pkclist.c')
-rw-r--r--g10/pkclist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/pkclist.c b/g10/pkclist.c
index cae60b209..4c0ffd779 100644
--- a/g10/pkclist.c
+++ b/g10/pkclist.c
@@ -363,7 +363,7 @@ do_edit_ownertrust (PKT_public_key *pk, int mode,
int
edit_ownertrust (PKT_public_key *pk, int mode )
{
- unsigned int trust;
+ unsigned int trust = 0; /* Needs to be initialized to avoid gcc warning. */
int no_help = 0;
for(;;)