From: Augustin Degomme Date: Sun, 26 Sep 2021 22:57:51 +0000 (+0200) Subject: initialize a variable in EP. X-Git-Tag: v3.29~44 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/acf4f8b6abb16973948f10851953a817cd5541a8 initialize a variable in EP. exit being replaced by smpi_exit, clang thinks wrongly that it can now be used uninitialized, due to our really strict warning policy. This would not cause any issue on a regular build. --- diff --git a/examples/smpi/NAS/ep.c b/examples/smpi/NAS/ep.c index da910c85d5..fa83b5cfdd 100644 --- a/examples/smpi/NAS/ep.c +++ b/examples/smpi/NAS/ep.c @@ -20,7 +20,7 @@ int main(int argc, char **argv) { double t1, t2, t3, t4; double sx_verify_value, sy_verify_value, sx_err, sy_err; - int m; + int m = 24; int mk=16; int nk = (int)(pow(2,mk)), nq=10,