summaryrefslogtreecommitdiffstats
path: root/src/H5C.c
diff options
context:
space:
mode:
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,