From 115e13d513d6fd93e04cf14c58e81a0f01faf262 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Mon, 19 Sep 2016 08:42:07 +0200 Subject: [PATCH] initialize variable --- src/kernel/race.test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/race.test.c b/src/kernel/race.test.c index 0a14c3ca6..7c464e4da 100644 --- a/src/kernel/race.test.c +++ b/src/kernel/race.test.c @@ -50,7 +50,7 @@ static void test_rc_find(CuTest *tc) { } static void test_race_get(CuTest *tc) { - int cache; + int cache = 0; race *rc; test_setup(); CuAssertTrue(tc, rc_changed(&cache));