diff --git a/tests/testOutputList.c b/tests/testOutputList.c index 3a7300e7bc35c64730e7a406df8fe1938d01e40f..33f166da92795dba3e487cc5e43a8fbfaeb00cb0 100644 --- a/tests/testOutputList.c +++ b/tests/testOutputList.c @@ -109,7 +109,7 @@ void test_cosmo(struct engine *e, const char *name, const int with_assert) { e->ti_current += 16; /* Read next value */ - integertime_t ti_next; + integertime_t ti_next = 0; output_list_read_next_time(list, e, name, &ti_next); output_time = (double)exp(ti_next * e->time_base) * e->cosmology->a_begin;