From 236a4d40dfc9f7d62aee587bda978ad060a20a1d Mon Sep 17 00:00:00 2001
From: carlocamilloni <carlo.camilloni@gmail.com>
Date: Mon, 29 Jul 2019 13:31:24 +0200
Subject: [PATCH] EDS: fix warning

---
 src/eds/EDS.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/eds/EDS.cpp b/src/eds/EDS.cpp
index dfc68dfe9..da66eb4df 100644
--- a/src/eds/EDS.cpp
+++ b/src/eds/EDS.cpp
@@ -501,7 +501,7 @@ EDS::EDS(const ActionOptions&ao):
 }
 
 void EDS::readInRestart(const bool b_mean) {
-  int adaptive_i;
+  int adaptive_i=0;
 
   in_restart_.open(in_restart_name_);
 
-- 
GitLab