summaryrefslogtreecommitdiffstats
path: root/test/cache_common.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-10-30 15:58:46 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-10-30 15:58:46 (GMT)
commit25f3bf9011ad0876998a1db37f21eb7a214b93d4 (patch)
tree912ed6ade37d6b190b6e2b989125e331ba43e27b /test/cache_common.c
parent87411d7b2d845d52bdbde7fcc473220c22936a47 (diff)
downloadhdf5-25f3bf9011ad0876998a1db37f21eb7a214b93d4.zip
hdf5-25f3bf9011ad0876998a1db37f21eb7a214b93d4.tar.gz
hdf5-25f3bf9011ad0876998a1db37f21eb7a214b93d4.tar.bz2
[svn-r12828] Description:
Clean up compiler warnings... Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'test/cache_common.c')
-rw-r--r--test/cache_common.c10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/cache_common.c b/test/cache_common.c
index dc19ac2..8cec96c 100644
--- a/test/cache_common.c
+++ b/test/cache_common.c
@@ -711,7 +711,11 @@ herr_t
flush(H5F_t *f,
hid_t UNUSED dxpl_id,
hbool_t dest,
- haddr_t addr,
+ haddr_t
+#ifdef NDEBUG
+ UNUSED
+#endif /* NDEBUG */
+ addr,
void *thing,
unsigned * flags_ptr)
{
@@ -1336,7 +1340,7 @@ dirty_entry(H5C_t * cache_ptr,
} else {
- mark_pinned_entry_dirty(cache_ptr, type, idx, FALSE, 0);
+ mark_pinned_entry_dirty(cache_ptr, type, idx, FALSE, (size_t)0);
}
}
@@ -1793,7 +1797,7 @@ verify_entry_status(H5C_t * cache_ptr,
struct expected_entry_status expected[])
{
static char msg[128];
- hbool_t in_cache;
+ hbool_t in_cache = FALSE; /* will set to TRUE if necessary */
int i;
test_entry_t * entry_ptr;
test_entry_t * base_addr;