diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-20 19:12:39 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2010-04-20 19:12:39 (GMT) |
commit | a2ad2f1b2af028af44c6304dde6092676d4b4c92 (patch) | |
tree | 8a918da7374b5c970f3b06de5e2c227bf205312a | |
parent | 92fd980ca9f16ce688f67a1ae04f129dfa3aacf1 (diff) | |
download | hdf5-a2ad2f1b2af028af44c6304dde6092676d4b4c92.zip hdf5-a2ad2f1b2af028af44c6304dde6092676d4b4c92.tar.gz hdf5-a2ad2f1b2af028af44c6304dde6092676d4b4c92.tar.bz2 |
[svn-r18597] Description:
Fix missing NULL initialization of pointers.
Tested on:
FreeBSD/32 6.3 (duty) in debug mode
FreeBSD/64 6.3 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (jam) w/PGI compilers, w/default API=1.8.x,
w/C++ & FORTRAN, w/threadsafe, in debug mode
Linux/64-amd64 2.6 (amani) w/Intel compilers, w/default API=1.6.x,
w/C++ & FORTRAN, in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN,
in production mode
Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in debug mode
Linux/64-amd64 2.6 (abe) w/parallel, w/FORTRAN, in production mode
Mac OS X/32 10.6.3 (amazon) in debug mode
-rw-r--r-- | src/H5T.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |