diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-09-18 16:57:16 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-09-18 16:57:16 (GMT) |
commit | d10d58c0c307bf92a3596da0e72698b8639255f6 (patch) | |
tree | 8ec9b3432d2a5aebe089276f02c5b0c2e1c5bc7d /tools/lib/h5tools.c | |
parent | defaf9ac4f21d9958a2c60158f26fa1a6f257147 (diff) | |
download | hdf5-d10d58c0c307bf92a3596da0e72698b8639255f6.zip hdf5-d10d58c0c307bf92a3596da0e72698b8639255f6.tar.gz hdf5-d10d58c0c307bf92a3596da0e72698b8639255f6.tar.bz2 |
[svn-r4455]
Purpose:
Warning Removal
Description:
Remove some spurious warnings from the compilation.
Platforms tested:
Linux
Diffstat (limited to 'tools/lib/h5tools.c')
-rw-r--r-- | tools/lib/h5tools.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/tools/lib/h5tools.c b/tools/lib/h5tools.c index c48236a..569fe2f 100644 --- a/tools/lib/h5tools.c +++ b/tools/lib/h5tools.c @@ -175,18 +175,18 @@ h5tools_fopen(const char *fname, const char *driver, char *drivername, /* This enum should match the entries in the above drivers_list since they * are indexes into the drivers_list array. */ enum { - SEC2_IDX = 0, - FAMILY_IDX, - SPLIT_IDX, - MULTI_IDX, + SEC2_IDX = 0 + ,FAMILY_IDX + ,SPLIT_IDX + ,MULTI_IDX #ifdef H5_HAVE_STREAM - STREAM_IDX + ,STREAM_IDX #endif /* H5_HAVE_STREAM */ }; #define NUM_DRIVERS (sizeof(drivers_list) / sizeof(struct d_list)) static int initialized = 0; - register int drivernum; + register unsigned drivernum; hid_t fid = FAIL; #ifndef VERSION12 hid_t fapl = H5P_DEFAULT; @@ -606,7 +606,7 @@ h5tools_dump_simple_subset(FILE *stream, const h5dump_t *info, hid_t dset, { herr_t ret; /*the value to return */ hid_t f_space; /*file data space */ - hsize_t elmtno, i; /*counters */ + hsize_t i; /*counters */ hssize_t zero = 0; /*vector of zeros */ unsigned int flags; /*buffer extent flags */ hsize_t total_size[H5S_MAX_RANK];/*total size of dataset*/ |