changeset 8696:54215b13787d

2007-04-16 Simon Josefsson <simon@josefsson.org> * lib/gc-libgcrypt.c (gc_hash_open): Shut up compiler warnings.
author Simon Josefsson <simon@josefsson.org>
date Mon, 16 Apr 2007 13:14:21 +0000
parents b91f4b0deb86
children 92376abc52b5
files ChangeLog lib/gc-libgcrypt.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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>
--- a/lib/gc-libgcrypt.c
+++ b/lib/gc-libgcrypt.c
@@ -240,7 +240,7 @@
 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;