summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2010-04-20 19:14:05 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2010-04-20 19:14:05 (GMT)
commit64af76ef7d19f9377c04c46a52f0175e8336dfb8 (patch)
tree8bd729f9919ce707103e6b4298e0f2b000071679 /src
parentc403f235f9b7c8d7abdff3836e76cc5724a5f82f (diff)
downloadhdf5-64af76ef7d19f9377c04c46a52f0175e8336dfb8.zip
hdf5-64af76ef7d19f9377c04c46a52f0175e8336dfb8.tar.gz
hdf5-64af76ef7d19f9377c04c46a52f0175e8336dfb8.tar.bz2
[svn-r18598] Description:
Fix missing NULL initialization of pointers. Tested on: Mac OS X/32 10.6.3 (amazon) w/debug (h5committested on trunk)
Diffstat (limited to 'src')
-rw-r--r--src/H5T.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5T.c b/src/H5T.c
index 48b2cc3..d21a453 100644
--- a/src/H5T.c
+++ b/src/H5T.c
@@ -2587,8 +2587,8 @@ herr_t
H5Tunregister(H5T_pers_t pers, const char *name, hid_t src_id, hid_t dst_id,
H5T_conv_t func)
{
- H5T_t *src, *dst; /*data type descriptors */
- herr_t ret_value = SUCCEED; /* Return value */
+ H5T_t *src = NULL, *dst = NULL; /* Datatype descriptors */
+ herr_t ret_value = SUCCEED; /* Return value */
FUNC_ENTER_API(H5Tunregister, FAIL)
H5TRACE5("e", "Te*siix", pers, name, src_id, dst_id, func);