summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorH. Joe Lee <hyoklee@hdfgroup.org>2023-05-09 16:11:29 (GMT)
committerGitHub <noreply@github.com>2023-05-09 16:11:29 (GMT)
commit80cf4066473736d4c050a9ac47a43551ac3657a5 (patch)
tree3aa86eedde696d90da6d03df9503e6afc98ddd6a /src
parent0bbed84be2c10160f26c57123ad381c6e89b5fd6 (diff)
downloadhdf5-80cf4066473736d4c050a9ac47a43551ac3657a5.zip
hdf5-80cf4066473736d4c050a9ac47a43551ac3657a5.tar.gz
hdf5-80cf4066473736d4c050a9ac47a43551ac3657a5.tar.bz2
Remove unused variable warning in H5C.c (#2844)
Diffstat (limited to 'src')
-rw-r--r--src/H5C.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5C.c b/src/H5C.c
index 8a97e47..a0f80f1 100644
--- a/src/H5C.c
+++ b/src/H5C.c
@@ -6628,8 +6628,8 @@ H5C__make_space_in_cache(H5F_t *f, size_t space_needed, hbool_t write_permitted)
if (entry_ptr->is_dirty && (entry_ptr->tag_info && entry_ptr->tag_info->corked)) {
/* Skip "dirty" corked entries. */
- ++num_corked_entries;
- didnt_flush_entry = TRUE;
+ num_corked_entries = num_corked_entries + 1;
+ didnt_flush_entry = TRUE;
}
else if ((entry_ptr->type->id != H5AC_EPOCH_MARKER_ID) && !entry_ptr->flush_in_progress &&
!entry_ptr->prefetched_dirty) {