From 3e47af544dfe325824b4e9df20eea95923cbe9a8 Mon Sep 17 00:00:00 2001 From: Samy Al Bahra Date: Wed, 11 Dec 2013 22:51:53 +0000 Subject: [PATCH] ck_hs: Silence false positive warning from older GCC versions. --- src/ck_hs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/ck_hs.c b/src/ck_hs.c index 1d6385d..9b25d13 100644 --- a/src/ck_hs.c +++ b/src/ck_hs.c @@ -498,7 +498,8 @@ ck_hs_marshal(unsigned int mode, const void *key, unsigned long h) bool ck_hs_gc(struct ck_hs *hs, unsigned long cycles, unsigned long seed) { - unsigned long size, i; + unsigned long size = 0; + unsigned long i; struct ck_hs_map *map = hs->map; unsigned int maximum = map->probe_maximum; CK_HS_WORD *bounds = NULL;