[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.2-100-gf0885c5
Service Account
noreply at mpich.org
Fri Jan 22 16:41:37 CST 2016
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "MPICH primary repository".
The branch, master has been updated
via f0885c5b523afca1ee180c1f16c7acb2ea5450f8 (commit)
from 745f700ff444e5a933528e3de5faa6ab65cdd0f0 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.mpich.org/mpich.git/commitdiff/f0885c5b523afca1ee180c1f16c7acb2ea5450f8
commit f0885c5b523afca1ee180c1f16c7acb2ea5450f8
Author: Rob Latham <robl at mcs.anl.gov>
Date: Fri Jan 22 16:40:23 2016 -0600
clean up test case slightly
this test did not free an array and the compiler pointed out an array we
set up and did not use anywhere.
No reviewer
diff --git a/test/mpi/io/hindexed_io.c b/test/mpi/io/hindexed_io.c
index fcfe4a2..662b9a8 100644
--- a/test/mpi/io/hindexed_io.c
+++ b/test/mpi/io/hindexed_io.c
@@ -36,7 +36,6 @@ int main(int argc, char **argv)
int data_size = DATA_SIZE;
int i, j, k, nr_errors = 0;
MPI_Aint disp[BLK_COUNT];
- int block_lens[BLK_COUNT];
char *filename = "unnamed.dat";
MPI_Init(&argc, &argv);
@@ -44,10 +43,6 @@ int main(int argc, char **argv)
disp[1] = (MPI_Aint) (data_size * 1 + PAD);
disp[2] = (MPI_Aint) (data_size * 2 + PAD);
- block_lens[0] = data_size;
- block_lens[1] = data_size;
- block_lens[2] = data_size;
-
data = malloc(data_size);
verify = malloc(data_size * BLK_COUNT + HEADER + PAD);
for (i = 0; i < data_size / sizeof(int); i++)
@@ -106,5 +101,6 @@ int main(int argc, char **argv)
MPI_Finalize();
free(data);
+ free(verify);
return 0;
}
-----------------------------------------------------------------------
Summary of changes:
test/mpi/io/hindexed_io.c | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
hooks/post-receive
--
MPICH primary repository
More information about the commits
mailing list