summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2018-12-07 05:16:54 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2018-12-07 05:16:54 (GMT)
commit1f96bda4b77efb53c4eddb5414d50e51cdc44390 (patch)
tree4d8075f923be3b37920d72698933ec40b8b28953 /src
parent5d457dd379b1a29814bdda78f5daead1b83fe1aa (diff)
downloadhdf5-1f96bda4b77efb53c4eddb5414d50e51cdc44390.zip
hdf5-1f96bda4b77efb53c4eddb5414d50e51cdc44390.tar.gz
hdf5-1f96bda4b77efb53c4eddb5414d50e51cdc44390.tar.bz2
Fixed typos.
Platforms tested: Linux/64 (jelly)
Diffstat (limited to 'src')
-rw-r--r--src/H5D.c9
-rw-r--r--src/H5Dchunk.c15
2 files changed, 10 insertions, 14 deletions
diff --git a/src/H5D.c b/src/H5D.c
index 32b2453..8ff6a15 100644
--- a/src/H5D.c
+++ b/src/H5D.c
@@ -1148,7 +1148,7 @@ done:
* Return: Non-negative on success, negative on failure
*
* Programmer: Binh-Minh Ribler
- * August 2018 (EED-343)
+ * August 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/
@@ -1199,7 +1199,7 @@ done:
* Return: Non-negative on success, negative on failure
*
* Programmer: Binh-Minh Ribler
- * August 2018 (EED-343)
+ * August 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/
@@ -1208,7 +1208,6 @@ H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t index, hsize_t *offset
{
H5D_t *dset = NULL;
const H5S_t *space; /* Dataspace for dataset */
- hsize_t space_allocated = 0;
herr_t ret_value = SUCCEED;
FUNC_ENTER_API(FAIL)
@@ -1220,8 +1219,6 @@ H5Dget_chunk_info(hid_t dset_id, hid_t fspace_id, hsize_t index, hsize_t *offset
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a dataset ID")
if(NULL == (space = (const H5S_t *)H5I_object_verify(fspace_id, H5I_DATASPACE)))
HGOTO_ERROR(H5E_ARGS, H5E_BADTYPE, FAIL, "not a dataspace ID")
- if(index < 0)
- HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid argument (null)")
if(NULL == offset && NULL == filter_mask && NULL == addr && NULL == size)
HGOTO_ERROR(H5E_ARGS, H5E_BADVALUE, FAIL, "invalid arguments, must have at least one non-null output argument")
@@ -1253,7 +1250,7 @@ done:
* Return: Non-negative on success, negative on failure
*
* Programmer: Binh-Minh Ribler
- * August 2018 (EED-343)
+ * August 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/
diff --git a/src/H5Dchunk.c b/src/H5Dchunk.c
index 7aaea74..3722475 100644
--- a/src/H5Dchunk.c
+++ b/src/H5Dchunk.c
@@ -6754,11 +6754,10 @@ done:
* Note: Currently, this function only gets the number of all written
* chunks, regardless the dataspace.
*
- * Return: Success: H5_ITER_CONT or H5_ITER_STOP
- * Failure: Negative (H5_ITER_ERROR)
+ * Return: H5_ITER_CONT
*
* Programmer: Binh-Minh Ribler
- * September 2018 (EED-343)
+ * September 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/
@@ -6790,7 +6789,7 @@ H5D__get_num_chunks_cb(const H5D_chunk_rec_t H5_ATTR_UNUSED *chunk_rec, void *_u
* Failure: Negative
*
* Programmer: Binh-Minh Ribler
- * September 2018 (EED-343)
+ * September 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/
@@ -6852,7 +6851,7 @@ done:
* Failure: Negative (H5_ITER_ERROR)
*
* Programmer: Binh-Minh Ribler
- * September 2018 (EED-343)
+ * September 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/
@@ -6902,7 +6901,7 @@ H5D__get_chunk_info_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
* Failure: FAIL
*
* Programmer: Binh-Minh Ribler
- * September 2018 (EED-343)
+ * September 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/
@@ -6989,7 +6988,7 @@ done:
* Failure: Negative (H5_ITER_ERROR)
*
* Programmer: Binh-Minh Ribler
- * September 2018 (EED-343)
+ * September 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/
@@ -7037,7 +7036,7 @@ H5D__get_chunk_info_by_coord_cb(const H5D_chunk_rec_t *chunk_rec, void *_udata)
* Failure: Negative
*
* Programmer: Binh-Minh Ribler
- * September 2018 (EED-343)
+ * September 2018 (HDFFV-10615)
*
*-------------------------------------------------------------------------
*/