summaryrefslogtreecommitdiffstats
path: root/src/H5A.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>1999-03-29 22:09:44 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>1999-03-29 22:09:44 (GMT)
commitc278fb73f7fde638657e14564eaadf6543147ab5 (patch)
tree356e2ebfaf352c43866d90f19f7ff8fedad97570 /src/H5A.c
parent6c43ecc0bda6e5693b16f9ee04b77bc693e15154 (diff)
downloadhdf5-c278fb73f7fde638657e14564eaadf6543147ab5.zip
hdf5-c278fb73f7fde638657e14564eaadf6543147ab5.tar.gz
hdf5-c278fb73f7fde638657e14564eaadf6543147ab5.tar.bz2
[svn-r1166] Fixed logic bug which was making all attributes read as zeros
Diffstat (limited to 'src/H5A.c')
-rw-r--r--src/H5A.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/H5A.c b/src/H5A.c
index 9ef6df5..d7cb783 100644
--- a/src/H5A.c
+++ b/src/H5A.c
@@ -503,6 +503,7 @@ H5A_open(H5G_entry_t *ent, unsigned idx)
HGOTO_ERROR(H5E_ATTR, H5E_CANTINIT, FAIL,
"unable to load attribute info from dataset header");
}
+ attr->initialized=1;
/* Copy the symbol table entry */
attr->ent=*ent;