summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-04-11 15:26:43 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-04-11 15:26:43 (GMT)
commit4e3029bf8286175909d678d67bf40f477402ba46 (patch)
treeba9984c832c78b49cee5426029a26d7b72e33cd6
parent4b716c38b8cbaf3bc27c0bea7acb6f02b55df740 (diff)
downloadhdf5-4e3029bf8286175909d678d67bf40f477402ba46.zip
hdf5-4e3029bf8286175909d678d67bf40f477402ba46.tar.gz
hdf5-4e3029bf8286175909d678d67bf40f477402ba46.tar.bz2
[svn-r13634] Description:
Remove a "//" comment from John's recent changes and clean up a few warnings. Tested on: Mac OS X/32 10.4.9 (amazon)
-rw-r--r--test/cache.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/test/cache.c b/test/cache.c
index e802f53..1e5ec0e 100644
--- a/test/cache.c
+++ b/test/cache.c
@@ -15637,8 +15637,7 @@ static void
check_unprotect_ro_dirty_err(void)
{
const char * fcn_name = "check_unprotect_ro_dirty_err()";
- //herr_t result;
- int result;
+ herr_t result;
H5C_t * cache_ptr = NULL;
test_entry_t * entry_ptr;
@@ -15852,16 +15851,7 @@ check_protect_ro_rw_err(void)
hbool_t rpt_fcn_called = FALSE;
enum H5C_resize_status rpt_status;
-void test_rpt_fcn(UNUSED H5C_t * cache_ptr,
- UNUSED int32_t version,
- UNUSED double hit_rate,
- UNUSED enum H5C_resize_status status,
- UNUSED size_t old_max_cache_size,
- UNUSED size_t new_max_cache_size,
- UNUSED size_t old_min_clean_size,
- UNUSED size_t new_min_clean_size);
-
-void test_rpt_fcn(UNUSED H5C_t * cache_ptr,
+static void test_rpt_fcn(UNUSED H5C_t * cache_ptr,
UNUSED int32_t version,
UNUSED double hit_rate,
UNUSED enum H5C_resize_status status,