summaryrefslogtreecommitdiffstats
path: root/test/cache.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-11-20 20:48:16 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-11-20 20:48:16 (GMT)
commite8ad6b8a8d9d93b50a65039a74e33e4f337efb70 (patch)
tree50bc01158c96ee9cae65af7a1a8fb085f78cf0eb /test/cache.c
parente8fb73f0384940202a7ebe4a8255d9b0d2189117 (diff)
downloadhdf5-e8ad6b8a8d9d93b50a65039a74e33e4f337efb70.zip
hdf5-e8ad6b8a8d9d93b50a65039a74e33e4f337efb70.tar.gz
hdf5-e8ad6b8a8d9d93b50a65039a74e33e4f337efb70.tar.bz2
[svn-r28426] Fixed all maybe-uninitialized warnings from gcc 5.2.
Tested on Ubuntu 15.10 (Linux 4.2.0 x86_64) gcc 5.2.1 serial only
Diffstat (limited to 'test/cache.c')
-rw-r--r--test/cache.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cache.c b/test/cache.c
index ccc2f2e..3a4a0da 100644
--- a/test/cache.c
+++ b/test/cache.c
@@ -17160,10 +17160,10 @@ static unsigned
check_protect_retries(void)
{
H5F_t * file_ptr = NULL;
- H5C_t *cache_ptr;
- test_entry_t *base_addr;
- test_entry_t *entry_ptr;
- H5C_cache_entry_t * cache_entry_ptr;
+ H5C_t *cache_ptr = NULL;
+ test_entry_t *base_addr = NULL;
+ test_entry_t *entry_ptr = NULL;
+ H5C_cache_entry_t * cache_entry_ptr = NULL;
int32_t type;
int32_t idx;