summaryrefslogtreecommitdiffstats
path: root/tools/misc/h5import.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 /tools/misc/h5import.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 'tools/misc/h5import.c')
-rw-r--r--tools/misc/h5import.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/misc/h5import.c b/tools/misc/h5import.c
index 0fcc7ed..4192821 100644
--- a/tools/misc/h5import.c
+++ b/tools/misc/h5import.c
@@ -67,7 +67,7 @@ usage (const char *argv0)
/*-------------------------------------------------------------------------
* Function: main
*
- * Purpose:
+ * Purpose:
*
* Return: Success: 0
*
@@ -104,7 +104,7 @@ main (int argc, char *argv[])
exit (1);
}
} H5E_END_TRY;
-
+
/* process files from command-line */
for (argno=3; argno<argc; argno++) {
@@ -129,8 +129,8 @@ main (int argc, char *argv[])
if ((dset=H5Dcreate (file, dset_name, H5T_NATIVE_SCHAR,
space, H5P_DEFAULT))<0) goto next;
-
-
+
+
next:
if (fd>=0) close (fd);
fd = -1;