diff options
author | Dana Robinson <43805+derobins@users.noreply.github.com> | 2021-11-18 22:57:30 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-18 22:57:30 (GMT) |
commit | 49f7e00ebeb343ea3716836c3fe6c1f0f4568335 (patch) | |
tree | 9493196f7403ce1d72860338f66f1947b5b1be78 | |
parent | 56ba9da70b2028384cc5c0afe3a44439b2df49de (diff) | |
download | hdf5-49f7e00ebeb343ea3716836c3fe6c1f0f4568335.zip hdf5-49f7e00ebeb343ea3716836c3fe6c1f0f4568335.tar.gz hdf5-49f7e00ebeb343ea3716836c3fe6c1f0f4568335.tar.bz2 |
Quiets a 'set but not used' warning in h5diff_array.c (#1210)
-rw-r--r-- | tools/lib/h5diff_array.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/lib/h5diff_array.c b/tools/lib/h5diff_array.c index 362a2f3..1b0d36f 100644 --- a/tools/lib/h5diff_array.c +++ b/tools/lib/h5diff_array.c @@ -1597,6 +1597,9 @@ character_compare_opt(unsigned char *mem1, unsigned char *mem2, hsize_t elemtno, hbool_t both_zero = FALSE; double per; + /* both_zero is set in the PER_UNSIGN macro but not used in this function */ + (void)both_zero; + HDmemcpy(&temp1_uchar, mem1, sizeof(unsigned char)); HDmemcpy(&temp2_uchar, mem2, sizeof(unsigned char)); H5TOOLS_START_DEBUG(" %d=%d", temp1_uchar, temp2_uchar); |