diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-01-06 07:45:15 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2019-01-06 07:45:15 (GMT) |
commit | aa62951a5fbbffa88185a58aea2b7526f5e66ce6 (patch) | |
tree | 210e7ae75fdb65fbcdc7c4049e6d80e9060b3f5b /src/H5FDfamily.c | |
parent | e1b59919bb96f68f3b372a73790ecbe4ac3b395a (diff) | |
parent | 0e34f0feaaeb6d2286f87f695f25fae45c070a42 (diff) | |
download | hdf5-aa62951a5fbbffa88185a58aea2b7526f5e66ce6.zip hdf5-aa62951a5fbbffa88185a58aea2b7526f5e66ce6.tar.gz hdf5-aa62951a5fbbffa88185a58aea2b7526f5e66ce6.tar.bz2 |
Merge branch 'develop' of https://bitbucket.hdfgroup.org/scm/~bmribler/hdf5_bmr_fixbug into develop
Diffstat (limited to 'src/H5FDfamily.c')
-rw-r--r-- | src/H5FDfamily.c | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/src/H5FDfamily.c b/src/H5FDfamily.c index e52a71a..4d40cf3 100644 --- a/src/H5FDfamily.c +++ b/src/H5FDfamily.c @@ -171,28 +171,25 @@ done: /*------------------------------------------------------------------------- - * Function: H5FD_family_init + * Function: H5FD_family_init * - * Purpose: Initialize this driver by registering the driver with the - * library. + * Purpose: Initialize this driver by registering the driver with the + * library. * - * Return: Success: The driver ID for the family driver. + * Return: Success: The driver ID for the family driver + * Failure: H5I_INVALID_HID * - * Failure: Negative - * - * Programmer: Robb Matzke + * Programmer: Robb Matzke * Wednesday, August 4, 1999 * - * Modifications: - * *------------------------------------------------------------------------- */ hid_t H5FD_family_init(void) { - hid_t ret_value = H5FD_FAMILY_g; /* Return value */ + hid_t ret_value = H5I_INVALID_HID; /* Return value */ - FUNC_ENTER_NOAPI(FAIL) + FUNC_ENTER_NOAPI(H5I_INVALID_HID) if(H5I_VFL != H5I_get_type(H5FD_FAMILY_g)) H5FD_FAMILY_g = H5FD_register(&H5FD_family_g, sizeof(H5FD_class_t), FALSE); |