summaryrefslogtreecommitdiffstats
path: root/src/H5Pdcpl.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2003-09-10 15:31:11 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2003-09-10 15:31:11 (GMT)
commit14f7f3e53d97c3f31a129145e7ea7e9cd55008dc (patch)
tree8c722b0b1ae3bee185e4b4a512ecef31700ee40c /src/H5Pdcpl.c
parent91709a2b438aa622f0fef679e7c05378b07adecb (diff)
downloadhdf5-14f7f3e53d97c3f31a129145e7ea7e9cd55008dc.zip
hdf5-14f7f3e53d97c3f31a129145e7ea7e9cd55008dc.tar.gz
hdf5-14f7f3e53d97c3f31a129145e7ea7e9cd55008dc.tar.bz2
[svn-r7453] Purpose:
Checkpoint file format spec. Description: Clarifications and cleanups related to file format review.
Diffstat (limited to 'src/H5Pdcpl.c')
-rw-r--r--src/H5Pdcpl.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/src/H5Pdcpl.c b/src/H5Pdcpl.c
index e43e916..8052600 100644
--- a/src/H5Pdcpl.c
+++ b/src/H5Pdcpl.c
@@ -1141,8 +1141,7 @@ done:
* be the same type as the dataset but the library must be able
* to convert VALUE to the dataset type when the dataset is
* created. If VALUE is NULL, it will be interpreted as
- * undefining fill value. The fill value property will be
- * removed from property list.
+ * undefining fill value.
*
* Return: Non-negative on success/Negative on failure
*
@@ -1337,17 +1336,14 @@ H5P_is_fill_value_defined(const struct H5O_fill_t *fill, H5D_fill_value_t *statu
assert(status);
/* Check if the fill value was never set */
- if(fill->size == (size_t)-1 && !fill->buf) {
+ if(fill->size == (size_t)-1 && !fill->buf)
*status = H5D_FILL_VALUE_UNDEFINED;
- }
/* Check if the fill value was set to the default fill value by the library */
- else if(fill->size == 0 && !fill->buf) {
+ else if(fill->size == 0 && !fill->buf)
*status = H5D_FILL_VALUE_DEFAULT;
- }
/* Check if the fill value was set by the application */
- else if(fill->size > 0 && fill->buf) {
+ else if(fill->size > 0 && fill->buf)
*status = H5D_FILL_VALUE_USER_DEFINED;
- }
else {
*status = H5D_FILL_VALUE_ERROR;
HGOTO_ERROR(H5E_PLIST, H5E_BADRANGE, FAIL, "invalid combination of fill-value info");