diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2015-11-20 20:48:16 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2015-11-20 20:48:16 (GMT) |
commit | e8ad6b8a8d9d93b50a65039a74e33e4f337efb70 (patch) | |
tree | 50bc01158c96ee9cae65af7a1a8fb085f78cf0eb /src/H5AC.c | |
parent | e8fb73f0384940202a7ebe4a8255d9b0d2189117 (diff) | |
download | hdf5-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 'src/H5AC.c')
-rw-r--r-- | src/H5AC.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1229,10 +1229,10 @@ H5AC_protect(H5F_t *f, hid_t dxpl_id, const H5AC_class_t *type, haddr_t addr, FILE * trace_file_ptr = NULL; #endif /* H5AC__TRACE_FILE_ENABLED */ unsigned protect_flags = H5C__NO_FLAGS_SET; - void * thing; /* Pointer to native data structure for entry */ + void *thing = NULL; /* Pointer to native data structure for entry */ hbool_t log_enabled; /* TRUE if logging was set up */ hbool_t curr_logging; /* TRUE if currently logging */ - void * ret_value = NULL; /* Return value */ + void *ret_value = NULL; /* Return value */ FUNC_ENTER_NOAPI(NULL) |