summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2020-10-05 19:21:58 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2020-10-05 19:21:58 (GMT)
commitf8cd74af65dc406292ffcfed1a01b2591f2bd15c (patch)
tree6fd6e9ca7b5257f011a118e9e5ecfae825e04abb
parente01430ec5600e85f6f4ff06c5bc2bbdd72e7a547 (diff)
downloadhdf5-f8cd74af65dc406292ffcfed1a01b2591f2bd15c.zip
hdf5-f8cd74af65dc406292ffcfed1a01b2591f2bd15c.tar.gz
hdf5-f8cd74af65dc406292ffcfed1a01b2591f2bd15c.tar.bz2
h5repacktest VFD fix and formatting changes
-rw-r--r--hl/src/H5LTanalyze.c6
-rw-r--r--src/H5Fquery.c12
-rw-r--r--tools/test/h5repack/h5repacktst.c2
3 files changed, 7 insertions, 13 deletions
diff --git a/hl/src/H5LTanalyze.c b/hl/src/H5LTanalyze.c
index 41e77b0..afef871 100644
--- a/hl/src/H5LTanalyze.c
+++ b/hl/src/H5LTanalyze.c
@@ -2413,11 +2413,7 @@ yy_scan_buffer(char *base, yy_size_t size)
* yy_scan_bytes() instead.
*/
YY_BUFFER_STATE
-yy_scan_string(const char *yystr)
-{
-
- return yy_scan_bytes(yystr, (int)strlen(yystr));
-}
+yy_scan_string(const char *yystr) { return yy_scan_bytes(yystr, (int)strlen(yystr)); }
/** Setup the input buffer state to scan the given bytes. The next call to yylex() will
* scan from a @e copy of @a bytes.
diff --git a/src/H5Fquery.c b/src/H5Fquery.c
index 17072ff..dac6e66 100644
--- a/src/H5Fquery.c
+++ b/src/H5Fquery.c
@@ -200,8 +200,8 @@ H5F_get_actual_name(const H5F_t *f)
* Function: H5F_get_extpath
*
* Purpose: Retrieve the file's 'extpath' flags
- * This is used by H5L_extern_traverse() and H5D_build_file_prefix() to retrieve the main file's
- *location when searching the target file.
+ * This is used by H5L_extern_traverse() and H5D_build_file_prefix()
+ * to retrieve the main file's location when searching the target file.
*
* Return: 'extpath' on success/abort on failure (shouldn't fail)
*-------------------------------------------------------------------------
@@ -1228,8 +1228,8 @@ H5F_get_null_fsm_addr(const H5F_t *f)
*
* Return: VOL class pointer for file, can't fail
*
- * Programmer: Quincey Koziol
- * Saturday, August 17, 2019
+ * Programmer: Quincey Koziol
+ * Saturday, August 17, 2019
*
*-------------------------------------------------------------------------
*/
@@ -1271,8 +1271,8 @@ H5F_get_vol_obj(const H5F_t *f)
* Return: Success: Non-negative
* Failure: Negative
*
- * Programmer: Quincey Koziol
- * Saturday, August 17, 2019
+ * Programmer: Quincey Koziol
+ * Saturday, August 17, 2019
*
*-------------------------------------------------------------------------
*/
diff --git a/tools/test/h5repack/h5repacktst.c b/tools/test/h5repack/h5repacktst.c
index ea9ded1..85af344 100644
--- a/tools/test/h5repack/h5repacktst.c
+++ b/tools/test/h5repack/h5repacktst.c
@@ -3292,8 +3292,6 @@ make_layout2(hid_t loc_id)
if (make_dset(loc_id, CHUNKED_S_FIX, s_sid, chunked_dcpl, s_buf[0]) < 0)
goto error;
- HDfree(s_buf);
-
ret_value = 0;
error: