summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-10-15 19:04:01 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-10-15 19:04:01 (GMT)
commit85f55c4c95bb7a9a07ef6c3da04a1cfea2784b99 (patch)
treedfb2fa6a39a24d69b42303d6cc9380f52fbad930 /tools/h5dump.c
parent687b25d15ccc413cd54df363f9ac57ac6e3b3718 (diff)
downloadhdf5-85f55c4c95bb7a9a07ef6c3da04a1cfea2784b99.zip
hdf5-85f55c4c95bb7a9a07ef6c3da04a1cfea2784b99.tar.gz
hdf5-85f55c4c95bb7a9a07ef6c3da04a1cfea2784b99.tar.bz2
[svn-r1759] Corrected a few more compiler warnings.
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r--tools/h5dump.c30
1 files changed, 15 insertions, 15 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index fd4fcaa..13acbc9 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -1288,21 +1288,21 @@ dump_data (hid_t obj_id, int obj_data) {
*
*-----------------------------------------------------------------------*/
int
-main(int argc, char *argv[]) {
-hid_t fid, gid, dsetid, typeid;
-hid_t plist=H5P_DEFAULT;
-const char *fname = NULL;
-int i, index, curr_arg, display_bb=0, display_all=1, newwidth= 0;
-int nopts=0, *opts;
-char *buf, name[128], name1[128];
-H5G_stat_t statbuf;
-void UNUSED *op_data;
-void *edata;
-hid_t (*func)(void*);
-
-/* Disable error reporting */
-H5Eget_auto (&func, &edata);
-H5Eset_auto (NULL, NULL);
+main(int argc, char *argv[])
+{
+ hid_t fid, gid, dsetid, typeid;
+ hid_t plist=H5P_DEFAULT;
+ const char *fname = NULL;
+ int i, index, curr_arg, display_bb=0, display_all=1, newwidth= 0;
+ int nopts=0, *opts;
+ char *buf, name[128], name1[128];
+ H5G_stat_t statbuf;
+ void *edata;
+ hid_t (*func)(void*);
+
+ /* Disable error reporting */
+ H5Eget_auto (&func, &edata);
+ H5Eset_auto (NULL, NULL);
if (argc < 2 ) {
usage();