From 823f08171884a0d50288d2e6e2d83c9fbbaf6773 Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Mon, 16 Apr 2007 13:14:21 +0000 Subject: [PATCH] 2007-04-16 Simon Josefsson * lib/gc-libgcrypt.c (gc_hash_open): Shut up compiler warnings. --- ChangeLog | 2 ++ lib/gc-libgcrypt.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a8bc683af..046b39118 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-04-16 Simon Josefsson + * lib/gc-libgcrypt.c (gc_hash_open): Shut up compiler warnings. + * m4/autobuild.m4: Re-indent. 2007-04-13 Bruno Haible diff --git a/lib/gc-libgcrypt.c b/lib/gc-libgcrypt.c index 6649660c4..ea0de060a 100644 --- a/lib/gc-libgcrypt.c +++ b/lib/gc-libgcrypt.c @@ -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; -- 2.11.0