summaryrefslogtreecommitdiffstats
path: root/testpar
diff options
context:
space:
mode:
authorKimmy Mu <kmu@hdfgroup.org>2020-01-23 03:34:17 (GMT)
committerKimmy Mu <kmu@hdfgroup.org>2020-01-23 03:34:17 (GMT)
commit80935975c1afddc4db3961256b6c490996da30fb (patch)
tree795739e979593ab3b0d0d3b4a6124c1f7049ab50 /testpar
parentd7414053638316081f11fad78474b2c3cde336c5 (diff)
parent2de0ce0d8ba2fb58fadefc5d718a3c0fedab25c8 (diff)
downloadhdf5-80935975c1afddc4db3961256b6c490996da30fb.zip
hdf5-80935975c1afddc4db3961256b6c490996da30fb.tar.gz
hdf5-80935975c1afddc4db3961256b6c490996da30fb.tar.bz2
Merge pull request #2291 in HDFFV/hdf5 from ~KMU/hdf5:bugfix/uninitialized to develop
* commit '2de0ce0d8ba2fb58fadefc5d718a3c0fedab25c8': fix uninitizlized warning
Diffstat (limited to 'testpar')
-rw-r--r--testpar/t_cache.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index d1dc820..058cde6 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -1762,7 +1762,7 @@ serve_write_request(struct mssg_t * mssg_ptr)
hbool_t report_mssg = FALSE;
hbool_t success = TRUE;
int target_index;
- int new_ver_num;
+ int new_ver_num = 0;
haddr_t target_addr;
#if DO_WRITE_REQ_ACK
struct mssg_t reply;
@@ -4609,7 +4609,7 @@ verify_entry_reads(haddr_t addr,
int expected_entry_reads)
{
hbool_t success = TRUE;
- int reported_entry_reads;
+ int reported_entry_reads = 0;
struct mssg_t mssg;
if ( success ) {
@@ -4716,7 +4716,7 @@ verify_entry_writes(haddr_t addr,
int expected_entry_writes)
{
hbool_t success = TRUE;
- int reported_entry_writes;
+ int reported_entry_writes = 0;
struct mssg_t mssg;
if ( success ) {