summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff.c
diff options
context:
space:
mode:
authorDavid Young <dyoung@hdfgroup.org>2019-11-13 17:26:49 (GMT)
committerDavid Young <dyoung@hdfgroup.org>2019-11-13 17:26:49 (GMT)
commit77a9806ab5692b3abaf3bb5d6f5bc68ef62fd8a1 (patch)
tree7dda681d27c622fdac37d2bcd0bd5746645728d9 /tools/lib/h5diff.c
parentaa0f3cb1a84729b3344abfcd9fc6d16ccf812954 (diff)
downloadhdf5-77a9806ab5692b3abaf3bb5d6f5bc68ef62fd8a1.zip
hdf5-77a9806ab5692b3abaf3bb5d6f5bc68ef62fd8a1.tar.gz
hdf5-77a9806ab5692b3abaf3bb5d6f5bc68ef62fd8a1.tar.bz2
Demote errors to warnings for a couple of unused-but-set variables that
I cannot untangle right now.
Diffstat (limited to 'tools/lib/h5diff.c')
-rw-r--r--tools/lib/h5diff.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/h5diff.c b/tools/lib/h5diff.c
index c2153e5..1b4bc56 100644
--- a/tools/lib/h5diff.c
+++ b/tools/lib/h5diff.c
@@ -258,6 +258,8 @@ free_exclude_path_list(diff_opt_t *opts)
* Parameter:
* table_out [OUT] : return the list
*------------------------------------------------------------------------*/
+#pragma GCC diagnostic push
+#pragma GCC diagnostic warning "-Wunused-but-set-variable"
static void
build_match_list (const char *objname1, trav_info_t *info1, const char *objname2, trav_info_t *info2,
trav_table_t ** table_out, diff_opt_t *opts)
@@ -374,6 +376,7 @@ done:
*table_out = table;
h5difftrace("build_match_list finish\n");
}
+#pragma GCC diagnostic pop
/*-------------------------------------------------------------------------