summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2005-04-30 21:05:34 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2005-04-30 21:05:34 (GMT)
commit98244eb5dd3f1bb8fea991a6efeb6bfb39d0cdf3 (patch)
tree87c24e70d6e8a443e4fd90fd5899b9b983983e48 /src/H5C.c
parent0fc9d137d3c00ec749152132db222d4a07bdc30f (diff)
downloadhdf5-98244eb5dd3f1bb8fea991a6efeb6bfb39d0cdf3.zip
hdf5-98244eb5dd3f1bb8fea991a6efeb6bfb39d0cdf3.tar.gz
hdf5-98244eb5dd3f1bb8fea991a6efeb6bfb39d0cdf3.tar.bz2
[svn-r10705] Purpose:
Code cleanup Description: Clean up a few compiler warnings of various sorts... Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
Diffstat (limited to 'src/H5C.c')
-rw-r--r--src/H5C.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 4038e48..0e1064a 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -3375,13 +3375,8 @@ H5C_protect(H5F_t * f,
*/
if ( cache_ptr->index_size > cache_ptr->max_cache_size ) {
- size_t space_needed;
-
cache_ptr->cache_full = TRUE;
- space_needed = cache_ptr->index_size -
- cache_ptr->max_cache_size + 1;
-
result = H5C_make_space_in_cache(f, primary_dxpl_id,
secondary_dxpl_id, cache_ptr,
(size_t)0, write_permitted,