diff options
author | David Young <dyoung@hdfgroup.org> | 2019-11-13 17:26:49 (GMT) |
---|---|---|
committer | David Young <dyoung@hdfgroup.org> | 2019-11-13 17:26:49 (GMT) |
commit | 77a9806ab5692b3abaf3bb5d6f5bc68ef62fd8a1 (patch) | |
tree | 7dda681d27c622fdac37d2bcd0bd5746645728d9 /tools/lib/h5diff_array.c | |
parent | aa0f3cb1a84729b3344abfcd9fc6d16ccf812954 (diff) | |
download | hdf5-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_array.c')
-rw-r--r-- | tools/lib/h5diff_array.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c index 2a45913..55ad65c 100644 --- a/tools/lib/h5diff_array.c +++ b/tools/lib/h5diff_array.c @@ -2245,6 +2245,9 @@ static hsize_t character_compare(char *mem1, char *mem2, hsize_t i, size_t u, *------------------------------------------------------------------------- */ +#pragma GCC diagnostic push +#pragma GCC diagnostic warning "-Wunused-but-set-variable" + static hsize_t character_compare_opt(unsigned char *mem1, unsigned char *mem2, hsize_t i, int rank, hsize_t *dims, hsize_t *acc, hsize_t *pos, diff_opt_t *opts, const char *obj1, const char *obj2, int *ph) { @@ -2305,6 +2308,7 @@ static hsize_t character_compare_opt(unsigned char *mem1, unsigned char *mem2, return nfound; } +#pragma GCC diagnostic pop /*------------------------------------------------------------------------- * Function: diff_float |