summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJerome Soumagne <jsoumagne@hdfgroup.org>2016-05-13 18:54:53 (GMT)
committerJerome Soumagne <jsoumagne@hdfgroup.org>2016-11-29 23:42:33 (GMT)
commit4e930f83973101a23e6e21d7d2549b939f3b9d1a (patch)
treeff984dc9f70b45c1ecc6d0136d586a6e2f60c752 /src
parenta48da0df72c9144c2efb219488cf0abee1282dda (diff)
downloadhdf5-4e930f83973101a23e6e21d7d2549b939f3b9d1a.zip
hdf5-4e930f83973101a23e6e21d7d2549b939f3b9d1a.tar.gz
hdf5-4e930f83973101a23e6e21d7d2549b939f3b9d1a.tar.bz2
Warning fixes to H5Tref
Diffstat (limited to 'src')
-rw-r--r--src/H5Tref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5Tref.c b/src/H5Tref.c
index 40b2cc9..2da735b 100644
--- a/src/H5Tref.c
+++ b/src/H5Tref.c
@@ -170,7 +170,7 @@ static size_t
H5T__ref_mem_getsize(const void *_ref)
{
const href_t *ref_ptr = (const href_t *)_ref;
- const struct href *ref;
+ const struct href *ref = NULL;
FUNC_ENTER_NOAPI_NOINIT_NOERR
@@ -523,7 +523,7 @@ H5T__obj_ref_disk_read(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
*/
static herr_t
H5T__obj_ref_disk_write(H5F_t H5_ATTR_UNUSED *f, hid_t H5_ATTR_UNUSED dxpl_id,
- void *_ref, void *buf, void H5_ATTR_UNUSED *_bg, size_t buf_size,
+ void *_ref, void *buf, void H5_ATTR_UNUSED *_bg, size_t H5_ATTR_UNUSED buf_size,
H5R_type_t H5_ATTR_UNUSED ref_type)
{
herr_t ret_value = SUCCEED; /* Return value */