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 a8bc683af2194d2adcfa5842eb7f07c50006a7e1..046b391184e1c016dd9a945a031080ec6157bbaf 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 6649660c43ab1b94ba6e95cf31fb6ca78baaaadc..ea0de060ac3ddbf25308d78f1f3e96e8f913f48c 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;