diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2023-04-11 19:07:14 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-11 19:07:14 (GMT) |
commit | 281071907b9744ed4d560343bb6fe052efdf497b (patch) | |
tree | f62ff326c77bebefcd68091b82377ef0cefec016 /test/dt_arith.c | |
parent | 92177ef21e37ae4b3c88c539f1639d90aa7ebcf6 (diff) | |
download | hdf5-281071907b9744ed4d560343bb6fe052efdf497b.zip hdf5-281071907b9744ed4d560343bb6fe052efdf497b.tar.gz hdf5-281071907b9744ed4d560343bb6fe052efdf497b.tar.bz2 |
Remove -Wunused-but-set-variable warnings in tests (#2661)
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r-- | test/dt_arith.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c index aa0115e..c006c49 100644 --- a/test/dt_arith.c +++ b/test/dt_arith.c @@ -2799,7 +2799,6 @@ test_conv_flt_1(const char *name, int run_test, hid_t src, hid_t dst) unsigned char *hw = NULL; /*ptr to hardware-conv'd*/ int underflow; /*underflow occurred */ int overflow = 0; /*overflow occurred */ - int uflow = 0; /*underflow debug counters*/ size_t j, k; /*counters */ int sendian; /* source type endianness */ int dendian; /* Destination type endianness */ @@ -3089,9 +3088,6 @@ test_conv_flt_1(const char *name, int run_test, hid_t src, hid_t dst) } #endif } - if (underflow) { - uflow++; - } /* For Intel machines, the size of "long double" is 12 bytes, precision * is 80 bits; for Intel IA64 and AMD processors, the size of "long double" |