summaryrefslogtreecommitdiffstats
path: root/src/H5G.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1997-09-16 20:07:12 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1997-09-16 20:07:12 (GMT)
commit85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37 (patch)
treeb1038dd41d1b9b3e498d0ea73677ae8887bcc0fc /src/H5G.c
parent932ec25e542e1aae86e4df86a934122761032b01 (diff)
downloadhdf5-85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37.zip
hdf5-85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37.tar.gz
hdf5-85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37.tar.bz2
[svn-r91] Bug fixes for multiple datasets in the file. Interim checkin, theres still
a problem with the simple dimensionality caching.
Diffstat (limited to 'src/H5G.c')
-rw-r--r--src/H5G.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/H5G.c b/src/H5G.c
index 8096daf..ea2ae3e 100644
--- a/src/H5G.c
+++ b/src/H5G.c
@@ -256,7 +256,7 @@ H5G_namei (hdf5_file_t *f, H5G_entry_t *cwd, const char *name,
* prevents us from saying `/foo/foo' where the root object has
* the name `foo'.
*/
- H5O_name_t mesg;
+ H5O_name_t mesg={0};
if (!aside && dir->header==f->root_sym->header &&
H5O_read (f, dir->header, dir, H5O_NAME, 0, &mesg)) {
if (!HDstrcmp (mesg.s, comp)) {
@@ -334,7 +334,7 @@ static herr_t
H5G_mkroot (hdf5_file_t *f, size_t size_hint)
{
H5O_stab_t stab; /*symbol table message */
- H5O_name_t name; /*object name message */
+ H5O_name_t name={0}; /*object name message */
H5G_entry_t root; /*old root entry */
const char *root_name=NULL; /*name of old root object */
intn nlinks; /*number of links */