summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dumpgentest.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-06-27 14:45:06 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-06-27 14:45:06 (GMT)
commit7be3afb278aea67ba09a97f4b41c0aaaf5c47983 (patch)
tree24ed86ab2a5c982fbf182d2ac8cd892c3813bc34 /tools/h5dump/h5dumpgentest.c
parent8d72542a50fac7a747fe0bfec8d2285de8efd29f (diff)
downloadhdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.zip
hdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.tar.gz
hdf5-7be3afb278aea67ba09a97f4b41c0aaaf5c47983.tar.bz2
[svn-r12440] Purpose:
Code cleanup Description: Trim trailing whitespace in Makefile.am and C/C++ source files to make diffing changes easier. Platforms tested: None necessary, whitespace only change
Diffstat (limited to 'tools/h5dump/h5dumpgentest.c')
-rw-r--r--tools/h5dump/h5dumpgentest.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/h5dump/h5dumpgentest.c b/tools/h5dump/h5dumpgentest.c
index e7bf7a7..89652f2 100644
--- a/tools/h5dump/h5dumpgentest.c
+++ b/tools/h5dump/h5dumpgentest.c
@@ -5427,20 +5427,20 @@ static void gent_longlinks(void)
*/
static int gent_ldouble(void)
{
- hid_t fid;
+ hid_t fid;
hid_t did;
hid_t tid;
hid_t sid;
size_t size;
- hsize_t dims[1] = {3};
+ hsize_t dims[1] = {3};
long double buf[3] = {1,2,3};
-
+
if ((fid = H5Fcreate(FILE52, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT))<0)
goto error;
-
+
if ((sid = H5Screate_simple(1, dims, NULL))<0)
goto error;
-
+
if ((tid = H5Tcopy(H5T_NATIVE_LDOUBLE))<0)
goto error;
@@ -5452,7 +5452,7 @@ static int gent_ldouble(void)
if (H5Dwrite(did,tid,H5S_ALL,H5S_ALL,H5P_DEFAULT,buf)<0)
goto error;
-
+
if (H5Sclose(sid)<0)
goto error;
if (H5Tclose(tid)<0)
@@ -5461,7 +5461,7 @@ static int gent_ldouble(void)
goto error;
if (H5Fclose(fid)<0)
goto error;
-
+
return 0;
error: