summaryrefslogtreecommitdiffstats
path: root/tools/src
diff options
context:
space:
mode:
authorkmu <kmu@hdfgroup.org>2019-12-06 18:03:19 (GMT)
committerkmu <kmu@hdfgroup.org>2019-12-06 18:03:19 (GMT)
commitf22e258586009b59cebdde931620c9d7379db6cd (patch)
tree062a4f4fdce26ea9ca4ef9f3016c87017a2b87b8 /tools/src
parent1f871e23b7c3fdec925004f2cd39d3a2cdd8decb (diff)
downloadhdf5-f22e258586009b59cebdde931620c9d7379db6cd.zip
hdf5-f22e258586009b59cebdde931620c9d7379db6cd.tar.gz
hdf5-f22e258586009b59cebdde931620c9d7379db6cd.tar.bz2
remove unsed var,function,macro, etc
Diffstat (limited to 'tools/src')
-rw-r--r--tools/src/h5diff/ph5diff_main.c2
-rw-r--r--tools/src/h5repack/h5repack_main.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/src/h5diff/ph5diff_main.c b/tools/src/h5diff/ph5diff_main.c
index 380ab3b..87221fd 100644
--- a/tools/src/h5diff/ph5diff_main.c
+++ b/tools/src/h5diff/ph5diff_main.c
@@ -304,7 +304,7 @@ void print_manager_output(void)
*
*-------------------------------------------------------------------------
*/
-void h5diff_exit(int status)
+void h5diff_exit(int H5_ATTR_UNUSED status)
{
/* if in parallel mode, dismiss workers, close down MPI, then exit */
if(g_Parallel) {
diff --git a/tools/src/h5repack/h5repack_main.c b/tools/src/h5repack/h5repack_main.c
index c628beb..c0c8a2a 100644
--- a/tools/src/h5repack/h5repack_main.c
+++ b/tools/src/h5repack/h5repack_main.c
@@ -281,7 +281,7 @@ int read_info(const char *filename, pack_opt_t *options)
char comp_info[1024];
FILE *fp = NULL;
char c;
- int i, rc = 1;
+ int i;
int ret_value = EXIT_SUCCESS;
if (NULL == (fp = HDfopen(filename, "r"))) {