summaryrefslogtreecommitdiffstats
path: root/src/H5Gdense.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2006-12-11 19:02:38 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2006-12-11 19:02:38 (GMT)
commitdc73eca1599d065186baa6a44ed611cb37225ce1 (patch)
tree9d12df1f2b95b34357903dff1e35f6af952491fa /src/H5Gdense.c
parente8d8f70f519b40da5e95dde61e66e2e4178f3a10 (diff)
downloadhdf5-dc73eca1599d065186baa6a44ed611cb37225ce1.zip
hdf5-dc73eca1599d065186baa6a44ed611cb37225ce1.tar.gz
hdf5-dc73eca1599d065186baa6a44ed611cb37225ce1.tar.bz2
[svn-r13041] Description:
Migrate "internalish" attribute operations into new source code file. Add test & basic support for opening attributes in dense storage (shared attributes not tested or supported yet). Tested on: Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Gdense.c')
-rw-r--r--src/H5Gdense.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/H5Gdense.c b/src/H5Gdense.c
index cd0b242..86f8353 100644
--- a/src/H5Gdense.c
+++ b/src/H5Gdense.c
@@ -482,12 +482,9 @@ H5G_dense_lookup_cb(const void *_lnk, void *_user_lnk)
HDassert(lnk);
HDassert(user_lnk);
- /* Check if we want the link information */
- if(user_lnk) {
- /* Copy link information */
- if(H5O_msg_copy(H5O_LINK_ID, lnk, user_lnk) == NULL)
- HGOTO_ERROR(H5E_SYM, H5E_CANTCOPY, H5_ITER_ERROR, "can't copy link message")
- } /* end if */
+ /* Copy link information */
+ if(H5O_msg_copy(H5O_LINK_ID, lnk, user_lnk) == NULL)
+ HGOTO_ERROR(H5E_SYM, H5E_CANTCOPY, H5_ITER_ERROR, "can't copy link message")
done:
FUNC_LEAVE_NOAPI(ret_value)