Skip to content
Snippets Groups Projects
Commit 93b372e5 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Uninitialised variables triggering warnings in DDT

parent 85829ef0
No related branches found
No related tags found
2 merge requests!136Master,!121Gpart mpi io
......@@ -81,7 +81,7 @@ int main(int argc, char *argv[]) {
int nr_nodes = 1, myrank = 0;
FILE *file_thread;
int with_outputs = 1;
int verbose = 0, talking;
int verbose = 0, talking = 0;
unsigned long long cpufreq = 0;
#ifdef WITH_MPI
......
......@@ -1974,6 +1974,7 @@ void engine_init(struct engine *e, struct space *s, float dt, int nr_threads,
e->dt_max = dt_max;
e->file_stats = NULL;
e->verbose = verbose;
e->count_step = 0;
e->wallclock_time = 0.f;
engine_rank = nodeID;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment