From f7a51878e3b2549b1d551887f953e9ff6b54b5d4 Mon Sep 17 00:00:00 2001 From: Augustin Degomme Date: Mon, 23 Aug 2021 18:53:55 +0200 Subject: [PATCH] please clang14 --- teshsuite/smpi/mpich3-test/perf/twovec.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/teshsuite/smpi/mpich3-test/perf/twovec.c b/teshsuite/smpi/mpich3-test/perf/twovec.c index e99e18ec17..9d285f3ca9 100644 --- a/teshsuite/smpi/mpich3-test/perf/twovec.c +++ b/teshsuite/smpi/mpich3-test/perf/twovec.c @@ -31,14 +31,13 @@ int main(int argc, char *argv[]) { MPI_Datatype column[LOOPS], xpose[LOOPS]; - double t[NUM_SIZES], ttmp, tmean; + double t[NUM_SIZES], ttmp; double tMeanLower, tMeanHigher; int size; int i, j, errs = 0, nrows, ncols; MPI_Init(&argc, &argv); - tmean = 0; size = 1; for (i = -SKIP; i < NUM_SIZES; i++) { nrows = ncols = size; @@ -59,7 +58,6 @@ int main(int argc, char *argv[]) * time large enough */ t[i] = 0; } - tmean += t[i]; } for (j = 0; j < LOOPS; j++) { @@ -70,7 +68,6 @@ int main(int argc, char *argv[]) if (i >= 0) size *= 2; } - tmean /= NUM_SIZES; /* Now, analyze the times to see that they do not grow too fast * as a function of size. As that is a vague criteria, we do the -- 2.20.1