diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2002-05-01 16:32:27 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2002-05-01 16:32:27 (GMT) |
commit | 4ad96d6e8abdee38d99f9950ea9f31b3175d6d28 (patch) | |
tree | d66ca60955beaa79bba97fcc82fb69006451c0d6 /src/H5T.c | |
parent | bc2028c55f80da9efd8fb6a2703f4eb99933192c (diff) | |
download | hdf5-4ad96d6e8abdee38d99f9950ea9f31b3175d6d28.zip hdf5-4ad96d6e8abdee38d99f9950ea9f31b3175d6d28.tar.gz hdf5-4ad96d6e8abdee38d99f9950ea9f31b3175d6d28.tar.bz2 |
[svn-r5314] Purpose:
Code cleanup
Description:
Cleanup some warnings from gcc 3.1
Platforms tested:
FreeBSD 4.5 (sleipnir)
Diffstat (limited to 'src/H5T.c')
-rw-r--r-- | src/H5T.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2219,7 +2219,7 @@ H5Tget_precision(hid_t type_id) } if (dt->parent) dt = dt->parent; /*defer to parent*/ if (H5T_COMPOUND==dt->type || H5T_OPAQUE==dt->type || H5T_ARRAY==dt->type) { - HRETURN_ERROR(H5E_DATATYPE, H5E_CANTINIT, H5T_ORDER_ERROR, + HRETURN_ERROR(H5E_DATATYPE, H5E_CANTINIT, 0, "operation not defined for specified data type"); } @@ -3432,7 +3432,7 @@ H5Tget_member_index(hid_t type_id, const char *name) int ret_value = FAIL; int nmembs, i; - FUNC_ENTER(H5Tget_member_index, NULL); + FUNC_ENTER(H5Tget_member_index, FAIL); H5TRACE2("Is","is",type_id,name); /* Check arguments */ |