diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 1997-09-16 20:07:12 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 1997-09-16 20:07:12 (GMT) |
commit | 85af38c6a1b3107fb005c6f8e874cbc5ae9c8e37 (patch) | |
tree | b1038dd41d1b9b3e498d0ea73677ae8887bcc0fc /src/H5G.c | |
parent | 932ec25e542e1aae86e4df86a934122761032b01 (diff) | |
download | hdf5-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |