diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-21 18:29:48 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2020-05-20 14:31:50 (GMT) |
commit | 0c9d2de9e29c5b0d0b0fb1ec07e1d2ae8e2c8f7d (patch) | |
tree | 28727dfdd4288e5da790f0753e2a9ff25ef0e2ea /testpar | |
parent | f77d99d3e9b9434ef895f9ad2ee072ce76e2768a (diff) | |
download | hdf5-0c9d2de9e29c5b0d0b0fb1ec07e1d2ae8e2c8f7d.zip hdf5-0c9d2de9e29c5b0d0b0fb1ec07e1d2ae8e2c8f7d.tar.gz hdf5-0c9d2de9e29c5b0d0b0fb1ec07e1d2ae8e2c8f7d.tar.bz2 |
fix uninitizlized warning
Diffstat (limited to 'testpar')
-rw-r--r-- | testpar/t_cache.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c index cde19fe..ebb8e33 100644 --- a/testpar/t_cache.c +++ b/testpar/t_cache.c @@ -1761,7 +1761,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; @@ -4612,7 +4612,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 ) { @@ -4719,7 +4719,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 ) { |