summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff_dset.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-10-23 14:26:15 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-10-23 14:26:15 (GMT)
commit8e2cedd066e4569bf36b530495bd2f811d95f808 (patch)
tree26a570f06f6010bff14f26bd3f22472b8ebd15e4 /tools/lib/h5diff_dset.c
parentd5acbfeb9e469ada610c4efa35a225be1cc2e0c1 (diff)
downloadhdf5-8e2cedd066e4569bf36b530495bd2f811d95f808.zip
hdf5-8e2cedd066e4569bf36b530495bd2f811d95f808.tar.gz
hdf5-8e2cedd066e4569bf36b530495bd2f811d95f808.tar.bz2
HDFFV-10297 Cleanup, Initialize variables
Diffstat (limited to 'tools/lib/h5diff_dset.c')
-rw-r--r--tools/lib/h5diff_dset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/lib/h5diff_dset.c b/tools/lib/h5diff_dset.c
index b03295b..ee42b99 100644
--- a/tools/lib/h5diff_dset.c
+++ b/tools/lib/h5diff_dset.c
@@ -189,7 +189,7 @@ hsize_t diff_datasetid(hid_t did1,
void *buf2 = NULL;
void *sm_buf1 = NULL;
void *sm_buf2 = NULL;
- hid_t sm_space; /*stripmine data space */
+ hid_t sm_space = -1; /*stripmine data space */
size_t need; /* bytes needed for malloc */
int i;
unsigned int vl_data = 0; /*contains VL datatypes */