Skip to content

Commit

Permalink
Ensure 'end' always gets initialized in function 'run_test_alltoall_p…
Browse files Browse the repository at this point in the history
…air'
  • Loading branch information
sydidelot committed Jun 11, 2019
1 parent 0ec4cf1 commit a6a15a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net_sanitizer.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ static double run_test_alltoall_pair(

MPI_Request reqs[nflight + 1]; /* +1 for response message */

start = MPI_Wtime();
end = start = MPI_Wtime(); /* Make sure 'end' gets always initialized */

for (int j = 0; j < niters; j++)
{
Expand Down

0 comments on commit a6a15a8

Please sign in to comment.