summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorAlbert Cheng <acheng@hdfgroup.org>2006-08-28 00:55:27 (GMT)
committerAlbert Cheng <acheng@hdfgroup.org>2006-08-28 00:55:27 (GMT)
commit66d2d26f5d97eed437683c5c5e3fa15e7d368664 (patch)
tree20add75e189dd6446b48dba937d85f86099ed5a5 /tools/h5repack
parent0265f1ca117cfeaea885f4619a2ad981dd92c9a0 (diff)
downloadhdf5-66d2d26f5d97eed437683c5c5e3fa15e7d368664.zip
hdf5-66d2d26f5d97eed437683c5c5e3fa15e7d368664.tar.gz
hdf5-66d2d26f5d97eed437683c5c5e3fa15e7d368664.tar.bz2
[svn-r12634] Purpose:
Code cleanup. Description: Removed argc and argv from the function arguments of h5tools_get_fapl() and h5tools_fopen(). They were used to call MPI_Init() which was no longer needed. Tested: heping (serial and parallel).
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/h5repack_copy.c2
-rw-r--r--tools/h5repack/h5repack_list.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_copy.c b/tools/h5repack/h5repack_copy.c
index e59b6d0..c62407f 100644
--- a/tools/h5repack/h5repack_copy.c
+++ b/tools/h5repack/h5repack_copy.c
@@ -177,7 +177,7 @@ int copy_objects(const char* fnamein,
* open the files
*-------------------------------------------------------------------------
*/
- if ((fidin=h5tools_fopen(fnamein, NULL, NULL, 0, argc, argv))<0 ){
+ if ((fidin=h5tools_fopen(fnamein, NULL, NULL, 0))<0 ){
printf("<%s>: %s\n", fnamein, H5FOPENERROR );
goto out;
}
diff --git a/tools/h5repack/h5repack_list.c b/tools/h5repack/h5repack_list.c
index 5622811..b414398 100644
--- a/tools/h5repack/h5repack_list.c
+++ b/tools/h5repack/h5repack_list.c
@@ -47,7 +47,7 @@ int check_objects(const char* fname,
* open the file
*-------------------------------------------------------------------------
*/
- if ((fid=h5tools_fopen(fname, NULL, NULL, 0, argc, argv))<0){
+ if ((fid=h5tools_fopen(fname, NULL, NULL, 0))<0){
printf("<%s>: %s\n", fname, H5FOPENERROR );
return -1;
}