summaryrefslogtreecommitdiffstats
path: root/test/gen_nullspace.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-08-13 20:53:35 (GMT)
commit6b45f5172ccb4311e0be9ae15da3758abb6b0e67 (patch)
tree5a7a112fe7a8a98c6fecb45b513789d15962eb3d /test/gen_nullspace.c
parent6562465a2c2a58cfbc2f47bf60bb538f7a783933 (diff)
downloadhdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.zip
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.gz
hdf5-6b45f5172ccb4311e0be9ae15da3758abb6b0e67.tar.bz2
[svn-r11245] Purpose:
Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'test/gen_nullspace.c')
-rw-r--r--test/gen_nullspace.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/gen_nullspace.c b/test/gen_nullspace.c
index 5892443..fd73f24 100644
--- a/test/gen_nullspace.c
+++ b/test/gen_nullspace.c
@@ -41,18 +41,18 @@ main(void)
hid_t did; /* Dataset ID */
hid_t attr; /* Attribute ID */
herr_t ret; /* Generic return value */
-
+
/* Create the file */
fid = H5Fcreate(NULLFILE, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
assert(fid>0);
sid = H5Screate(H5S_NULL);
assert(sid>0);
-
+
/* Create dataset */
did = H5Dcreate(fid, NULLDATASET, H5T_NATIVE_UINT, sid, H5P_DEFAULT);
assert(did>0);
-
+
/* Close the dataset */
ret = H5Dclose(did);
assert(ret>=0);
@@ -64,23 +64,23 @@ main(void)
/* Create an attribute for the group */
attr=H5Acreate(gid,NULLATTR,H5T_NATIVE_INT,sid,H5P_DEFAULT);
assert(attr>0);
-
+
/* Close attribute */
ret=H5Aclose(attr);
assert(ret>=0);
-
+
/* Close the group */
ret = H5Gclose(gid);
assert(ret>=0);
-
+
/* Close the dataspace */
ret = H5Sclose(sid);
assert(ret>=0);
-
+
/* Close the file */
ret = H5Fclose(fid);
assert(ret>=0);
-
+
return 0;
}