summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2017-03-02 17:25:40 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2017-03-02 17:25:40 (GMT)
commita04bf9bf7fa47fb3495d63d593efc0a23a36b1e1 (patch)
tree8adf53fffabf4c22c14fee355d9ca1a8e774d64f /testpar
parent82e2f9acbda502c19a836242a3461f76624054d9 (diff)
parent5df52404bc6f6323ebf064b3d82b8e683de96eba (diff)
downloadhdf5-a04bf9bf7fa47fb3495d63d593efc0a23a36b1e1.zip
hdf5-a04bf9bf7fa47fb3495d63d593efc0a23a36b1e1.tar.gz
hdf5-a04bf9bf7fa47fb3495d63d593efc0a23a36b1e1.tar.bz2
Merge pull request #319 in HDFFV/hdf5 from merge_page_buffering_07 to develop
* commit '5df52404bc6f6323ebf064b3d82b8e683de96eba': Misc. small cleanups to sync against incoming page buffering changes.
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_cache.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index 0e69557..bfa4c8f 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -4334,8 +4334,7 @@ setup_cache_for_test(hid_t * fid_ptr,
*
*****************************************************************************/
static void
-verify_writes(unsigned num_writes,
- haddr_t * written_entries_tbl)
+verify_writes(unsigned num_writes, haddr_t *written_entries_tbl)
{
const hbool_t report = FALSE;
hbool_t proceed = TRUE;
@@ -4361,13 +4360,10 @@ verify_writes(unsigned num_writes,
}
}
- if ( proceed ) {
-
+ if(proceed)
proceed = verify_total_writes(num_writes);
- }
- while ( ( proceed ) && ( u < num_writes ) )
- {
+ while(proceed && u < num_writes) {
proceed = verify_entry_writes(written_entries_tbl[u], 1);
u++;
}