aboutsummaryrefslogtreecommitdiffstats
path: root/capinfos.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-12-17 12:09:40 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-12-17 12:09:40 +0000
commit184ca96abaaf46ade12bf64d9db931307142f168 (patch)
treeab7a11bdd99c322c17c9b4834fdb5732ca451609 /capinfos.c
parentef92b4ec1172e359656ce9baa1567e8ddd49557b (diff)
Initialize hd pointer to avoid a compiler warning.
svn path=/trunk/; revision=31290
Diffstat (limited to 'capinfos.c')
-rw-r--r--capinfos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/capinfos.c b/capinfos.c
index 3cbdc5e330..d4fbfa1614 100644
--- a/capinfos.c
+++ b/capinfos.c
@@ -688,7 +688,7 @@ main(int argc, char *argv[])
#ifdef HAVE_LIBGCRYPT
FILE *fh;
char *hash_buf = NULL;
- gcry_md_hd_t hd;
+ gcry_md_hd_t hd = NULL;
size_t hash_bytes;
#endif