diff options
author | kmu <kmu@hdfgroup.org> | 2020-01-21 18:29:48 (GMT) |
---|---|---|
committer | kmu <kmu@hdfgroup.org> | 2020-01-21 18:29:48 (GMT) |
commit | 408b9b1f3b8e84ba090c51e665d38eedef32c7ee (patch) | |
tree | fb1b54f04db572aeb9a4a9fb56ceb73f9a52e411 /testpar | |
parent | 7366709e4000a96a9942934da0d13474213567f3 (diff) | |
download | hdf5-408b9b1f3b8e84ba090c51e665d38eedef32c7ee.zip hdf5-408b9b1f3b8e84ba090c51e665d38eedef32c7ee.tar.gz hdf5-408b9b1f3b8e84ba090c51e665d38eedef32c7ee.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 ) { |