summaryrefslogtreecommitdiffstats
path: root/test/unregister.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-05-13 14:15:29 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-05-13 14:15:29 (GMT)
commit2c78a1930b11ef10aa92d3cdeb8486d2ede1b33b (patch)
tree6b1c378151b84b05308e183e5ebd72d8cf489d73 /test/unregister.c
parent5ba81f88a3d4c1b6228d2647cbef434c813aef5b (diff)
downloadhdf5-2c78a1930b11ef10aa92d3cdeb8486d2ede1b33b.zip
hdf5-2c78a1930b11ef10aa92d3cdeb8486d2ede1b33b.tar.gz
hdf5-2c78a1930b11ef10aa92d3cdeb8486d2ede1b33b.tar.bz2
Whitespace updates
Diffstat (limited to 'test/unregister.c')
-rw-r--r--test/unregister.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/unregister.c b/test/unregister.c
index ff116cf..a72b223 100644
--- a/test/unregister.c
+++ b/test/unregister.c
@@ -55,7 +55,7 @@ const H5Z_class2_t H5Z_DUMMY[1] = {{
* Function: do_nothing
*
* Purpose: A dummy compression method that doesn't do anything. This
- * filter is only for test_unregister_filters. Please don't
+ * filter is only for test_unregister_filters. Please don't
* use it for other tests because it may mess up this test.
*
* Return: Data chunk size
@@ -115,12 +115,12 @@ test_unregister_filters(hid_t fapl_id)
goto error;
if (H5Zfilter_avail(H5Z_FILTER_DUMMY) != TRUE)
goto error;
-
+
/*******************
* PART 1 - GROUPS *
*******************/
- /* Use DUMMY filter for creating groups */
+ /* Use DUMMY filter for creating groups */
if((gcpl_id = H5Pcreate(H5P_GROUP_CREATE)) < 0)
goto error;
if(H5Pset_filter(gcpl_id, H5Z_FILTER_DUMMY, H5Z_FLAG_MANDATORY, (size_t)0, NULL) < 0)
@@ -136,7 +136,7 @@ test_unregister_filters(hid_t fapl_id)
if((gid_loop = H5Gcreate2(gid, group_name, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT)) < 0)
goto error;
if(H5Gclose(gid_loop) < 0)
- goto error;
+ goto error;
}
/* Flush the file containing the groups */
@@ -165,7 +165,7 @@ test_unregister_filters(hid_t fapl_id)
* PART 2 - DATASETS *
*********************/
- /* Use DUMMY filter for creating datasets */
+ /* Use DUMMY filter for creating datasets */
if((dcpl_id = H5Pcreate(H5P_DATASET_CREATE)) < 0)
goto error;
if(H5Pset_chunk(dcpl_id, 2, chunk_dims) < 0)
@@ -218,7 +218,7 @@ test_unregister_filters(hid_t fapl_id)
if(H5Dclose(did) < 0)
goto error;
- /* Unregister the filter after closing all objects but before closing files.
+ /* Unregister the filter after closing all objects but before closing files.
* It should flush all files.
*/
if(H5Zunregister(H5Z_FILTER_DUMMY) < 0)