Initialize hd pointer to avoid a compiler warning.
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 17 Dec 2009 12:09:40 +0000 (12:09 +0000)
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 17 Dec 2009 12:09:40 +0000 (12:09 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31290 f5534014-38df-0310-8fa8-9805f1628bb7

capinfos.c

index 3cbdc5e330e89d82724a96cdb592969b16b6d7a4..d4fbfa1614791a43cab07eca70f8e25b8925c6fd 100644 (file)
@@ -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