summaryrefslogtreecommitdiffstats
path: root/test/dt_arith.c
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2015-09-16 13:54:23 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2015-09-16 13:54:23 (GMT)
commit2385b2b0ad832825bd9009237149e1581326c044 (patch)
treeff68ed2b81beec4e05f1c7512fca9636536ee85d /test/dt_arith.c
parentcc0165a973d17386cd4983ac1d0394ad4feb8034 (diff)
downloadhdf5-2385b2b0ad832825bd9009237149e1581326c044.zip
hdf5-2385b2b0ad832825bd9009237149e1581326c044.tar.gz
hdf5-2385b2b0ad832825bd9009237149e1581326c044.tar.bz2
[svn-r27800] Minor warning fixes in the library tests.
Tested on: jam (too minor for h5committest)
Diffstat (limited to 'test/dt_arith.c')
-rw-r--r--test/dt_arith.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dt_arith.c b/test/dt_arith.c
index 102f217..76ad0f3 100644
--- a/test/dt_arith.c
+++ b/test/dt_arith.c
@@ -2859,7 +2859,7 @@ test_conv_flt_1 (const char *name, int run_test, hid_t src, hid_t dst)
#endif
unsigned char *hw=NULL; /*ptr to hardware-conv'd*/
int underflow; /*underflow occurred */
- int overflow; /*overflow occurred */
+ int overflow = 0; /*overflow occurred */
int uflow=0; /*underflow debug counters*/
size_t j, k; /*counters */
int sendian; /* source type endianess */