diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-29 19:28:23 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-04-29 19:28:23 (GMT) |
commit | eb96132022da938d4b54ae4dd482919a178c4ee5 (patch) | |
tree | e6cfc62b07e4c74fdbe3c65a659fbaf69ca5a322 /test/cache_api.c | |
parent | 1032b7c9d6cbd0ac109b72add26d47436eaca035 (diff) | |
download | hdf5-eb96132022da938d4b54ae4dd482919a178c4ee5.zip hdf5-eb96132022da938d4b54ae4dd482919a178c4ee5.tar.gz hdf5-eb96132022da938d4b54ae4dd482919a178c4ee5.tar.bz2 |
[svn-r12316] Purpose:
Code cleanup/feature twist
Description:
Adjust recent H5AC routines to take H5F_t pointers instead of H5C_t
pointers, to match the rest of the H5AC routines.
This change propagated into a few of the tests, which also had some
compiler warnings cleaned up...
Platforms tested:
FreeBSD 4.11 (sleipnir) w/parallel
Linux 2.4/64 (mir) w/C++ & FORTRAN
Diffstat (limited to 'test/cache_api.c')
-rw-r--r-- | test/cache_api.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cache_api.c b/test/cache_api.c index 902a829..c1089dd 100644 --- a/test/cache_api.c +++ b/test/cache_api.c @@ -1325,9 +1325,9 @@ mdc_api_call_smoke_check(void) double min_hit_rate = 0.90; hbool_t dump_cache_size = FALSE; hid_t file_id = -1; - hid_t dataspace_id; + hid_t dataspace_id = -1; hid_t filespace_ids[NUM_DSETS]; - hid_t memspace_id; + hid_t memspace_id = -1; hid_t dataset_ids[NUM_DSETS]; hid_t properties; char dset_name[64]; @@ -2734,7 +2734,7 @@ check_fapl_mdc_api_errs(void) static char msg[128]; int i; herr_t result; - hid_t fapl_id; + hid_t fapl_id = -1; H5AC_cache_config_t default_config = H5AC__DEFAULT_CACHE_CONFIG; H5AC_cache_config_t scratch; @@ -2904,7 +2904,7 @@ check_file_mdc_api_errs(void) static char msg[128]; int i; herr_t result; - hid_t file_id; + hid_t file_id = -1; size_t max_size; size_t min_clean_size; size_t cur_size; |