summaryrefslogtreecommitdiffstats
path: root/src/H5D.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-01-09 18:40:19 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-01-09 18:40:19 (GMT)
commit98f01e2df2b407bfae2cd24fe4f03e184712eb75 (patch)
treef1981909055143f84c94799354d3d2a266c30c0f /src/H5D.c
parent9a433b99a56dc575f1c0b11f95b744de61859dbb (diff)
downloadhdf5-98f01e2df2b407bfae2cd24fe4f03e184712eb75.zip
hdf5-98f01e2df2b407bfae2cd24fe4f03e184712eb75.tar.gz
hdf5-98f01e2df2b407bfae2cd24fe4f03e184712eb75.tar.bz2
[svn-r6255] Purpose:
Code cleanup Description: Clean up a few more warnings and update dependencies. Platforms tested: Linux 2.2.18smp (eirene) serial & parallel
Diffstat (limited to 'src/H5D.c')
-rw-r--r--src/H5D.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/H5D.c b/src/H5D.c
index cab38cd..bc12d41 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -356,21 +356,21 @@ H5D_init_interface(void)
* default dataset with them.
*/
if (NULL == (def_dcpl = H5I_object(H5P_LST_DATASET_CREATE_g)))
- HGOTO_ERROR(H5E_DATASET, H5E_BADTYPE, NULL, "can't get default dataset creation property list");
+ HGOTO_ERROR(H5E_DATASET, H5E_BADTYPE, FAIL, "can't get default dataset creation property list");
/* Set up the default allocation time information */
if(H5P_get(def_dcpl, H5D_CRT_ALLOC_TIME_NAME, &H5D_def_dset.alloc_time) < 0)
- HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't retrieve space allocation time");
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't retrieve space allocation time");
if(H5D_def_dset.alloc_time==H5D_ALLOC_TIME_DEFAULT)
H5D_def_dset.alloc_time=H5D_ALLOC_TIME_LATE;
/* Get the default external file list information */
if(H5P_get(def_dcpl, H5D_CRT_EXT_FILE_LIST_NAME, &H5D_def_dset.efl) < 0)
- HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't retrieve external file list");
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't retrieve external file list");
/* Get the default data storage method */
if(H5P_get(def_dcpl, H5D_CRT_LAYOUT_NAME, &H5D_def_dset.layout.type) < 0)
- HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, NULL, "can't retrieve layout");
+ HGOTO_ERROR(H5E_PLIST, H5E_CANTGET, FAIL, "can't retrieve layout");
/* Get the default fill value time */
if (H5P_get(def_dcpl, H5D_CRT_FILL_TIME_NAME, &H5D_def_dset.fill_time) < 0)
@@ -2056,7 +2056,7 @@ H5D_open(H5G_entry_t *ent)
{
hid_t ret_value; /* Return value */
- FUNC_ENTER_NOAPI(H5D_open, NULL);
+ FUNC_ENTER_NOAPI(H5D_open, FAIL);
/* check args */
assert (ent);