summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2002-06-19 17:04:47 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2002-06-19 17:04:47 (GMT)
commit63bf0d81007a2bbd711e80d76cb0149bf8479d46 (patch)
tree4b1893254f5bb8f72352e2d69613ff7aa6a27c73 /src/H5D.c
parent8bb096b6977a90df82ca3d32287aa2a7abeb5510 (diff)
downloadhdf5-63bf0d81007a2bbd711e80d76cb0149bf8479d46.zip
hdf5-63bf0d81007a2bbd711e80d76cb0149bf8479d46.tar.gz
hdf5-63bf0d81007a2bbd711e80d76cb0149bf8479d46.tar.bz2
[svn-r5676] Purpose:
Code improvement Description: Some small code cleanups and took out the code the was turning off the metadata cache for parallel I/O (!) Platforms tested: IRIX64 6.5 (modi4) w/parallel
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 2f80c2a..fea42af 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1144,13 +1144,11 @@ printf("%s: check 0.5\n",FUNC);
printf("%s: check 1.0\n",FUNC);
#endif /* QAK */
if (0==efl->nused) {
- if (H5F_arr_create(f, &(new_dset->layout)) < 0) {
- HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL,
- "unable to initialize storage");
- }
- } else {
+ if (H5F_arr_create(f, &(new_dset->layout)) < 0)
+ HGOTO_ERROR(H5E_DATASET, H5E_CANTINIT, NULL, "unable to initialize storage");
+ } /* end if */
+ else
new_dset->layout.addr = HADDR_UNDEF;
- }
#ifdef QAK
printf("%s: check 2.0\n",FUNC);