From acf4f8b6abb16973948f10851953a817cd5541a8 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Mon, 27 Sep 2021 00:57:51 +0200 Subject: [PATCH] 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. --- examples/smpi/NAS/ep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.20.1