summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-11-17 20:20:14 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-11-17 20:20:14 (GMT)
commitbb3fb6f13461d724baa635e464585cb49d8848d2 (patch)
treed769484bdb107616fc287ccdc956b0f9f373ec48 /src
parentbd28c0b42d43edc53f1bfd12ecb2ab397e92cbab (diff)
downloadhdf5-bb3fb6f13461d724baa635e464585cb49d8848d2.zip
hdf5-bb3fb6f13461d724baa635e464585cb49d8848d2.tar.gz
hdf5-bb3fb6f13461d724baa635e464585cb49d8848d2.tar.bz2
HDFFV-10328 - fix typos
Diffstat (limited to 'src')
-rw-r--r--src/H5Z.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/H5Z.c b/src/H5Z.c
index 1f1a905..a9f7336 100644
--- a/src/H5Z.c
+++ b/src/H5Z.c
@@ -1219,12 +1219,12 @@ H5Z_pipeline(const H5O_pline_t *pline, unsigned flags,
*/
if ((fclass_idx = H5Z_find_idx(pline->filter[idx].id)) < 0) {
hbool_t issue_error = FALSE;
- H5Z_class2_t *filter_info;
+ const H5Z_class2_t *filter_info;
/* Try loading the filter */
if (NULL != (filter_info = (const H5Z_class2_t *)H5PL_load(H5PL_TYPE_FILTER, (int)(pline->filter[idx].id)))) {
/* Register the filter we loaded */
- if (H5Z_register(filter_info < 0)
+ if (H5Z_register(filter_info) < 0)
HGOTO_ERROR (H5E_PLINE, H5E_CANTINIT, FAIL, "unable to register filter")
/* Search in the table of registered filters again to find the dynamic filter just loaded and registered */
@@ -1235,7 +1235,7 @@ H5Z_pipeline(const H5O_pline_t *pline, unsigned flags,
issue_error = TRUE;
/* Check for error */
- if(issue_error) {
+ if (issue_error) {
/* Print out the filter name to give more info. But the name is optional for
* the filter */
if (pline->filter[idx].name)
@@ -1269,9 +1269,8 @@ H5Z_pipeline(const H5O_pline_t *pline, unsigned flags,
failed |= (unsigned)1 << idx;
H5E_clear_stack (NULL);
}
- else {
+ else
*nbytes = new_nbytes;
- }
}
}
else if (pline) { /* Write */