From 80cf4066473736d4c050a9ac47a43551ac3657a5 Mon Sep 17 00:00:00 2001 From: "H. Joe Lee" Date: Tue, 9 May 2023 11:11:29 -0500 Subject: Remove unused variable warning in H5C.c (#2844) --- src/H5C.c | 4 ++-- 1 file 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) { -- cgit v0.12