From fe24819a8735ddefb95a92188dc17415a351b489 Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Thu, 24 Jun 2004 08:35:14 -0500 Subject: [svn-r8735] Purpose: cleaned SGI compiler warnings Description: Solution: Platforms tested: linux solaris AIX Misc. update: --- tools/h5dump/h5dump.c | 40 ++++++++++++---------------------------- 1 file changed, 12 insertions(+), 28 deletions(-) diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index a478f3b..5f76c16 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -2071,7 +2071,6 @@ static void dump_fill_value(hid_t dcpl,hid_t type_id, hid_t obj_id) void *buf=NULL; int nelmts=1; h5dump_t *outputformat = &dataformat; - herr_t ret; hid_t n_type; memset(&ctx, 0, sizeof(ctx)); @@ -2081,7 +2080,7 @@ static void dump_fill_value(hid_t dcpl,hid_t type_id, hid_t obj_id) n_type = H5Tget_native_type(type_id,H5T_DIR_DEFAULT); - ret=H5Pget_fill_value(dcpl, n_type, buf); + H5Pget_fill_value(dcpl, n_type, buf); h5tools_dump_simple_data(stdout, outputformat, obj_id, &ctx, START_OF_DATA | END_OF_DATA, nelmts, n_type, buf); @@ -2222,10 +2221,6 @@ dump_dcpl(hid_t dcpl_id,hid_t type_id, hid_t obj_id) printf("%s\n",END); } } - - - - /*------------------------------------------------------------------------- * FILTERS *------------------------------------------------------------------------- @@ -2237,8 +2232,7 @@ dump_dcpl(hid_t dcpl_id,hid_t type_id, hid_t obj_id) indentation(indent + COL); printf("%s %s\n", FILTERS, BEGIN); indent += COL; - - + for (i=0; i