2007-04-16 Simon Josefsson <simon@josefsson.org>
authorSimon Josefsson <simon@josefsson.org>
Mon, 16 Apr 2007 13:14:21 +0000 (13:14 +0000)
committerSimon Josefsson <simon@josefsson.org>
Mon, 16 Apr 2007 13:14:21 +0000 (13:14 +0000)
* lib/gc-libgcrypt.c (gc_hash_open): Shut up compiler warnings.

ChangeLog
lib/gc-libgcrypt.c

index a8bc683..046b391 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2007-04-16  Simon Josefsson  <simon@josefsson.org>
 
+       * lib/gc-libgcrypt.c (gc_hash_open): Shut up compiler warnings.
+
        * m4/autobuild.m4: Re-indent.
 
 2007-04-13  Bruno Haible  <bruno@clisp.org>
index 6649660..ea0de06 100644 (file)
@@ -240,7 +240,7 @@ Gc_rc
 gc_hash_open (Gc_hash hash, Gc_hash_mode mode, gc_hash_handle * outhandle)
 {
   _gc_hash_ctx *ctx;
-  int gcryalg, gcrymode;
+  int gcryalg = 0, gcrymode = 0;
   gcry_error_t err;
   Gc_rc rc = GC_OK;