summaryrefslogtreecommitdiffstats
path: root/tools/lib/h5diff_attr.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2017-10-16 15:56:54 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2017-10-16 15:56:54 (GMT)
commite0bbff9d46eabbbc3a6d63f5b2f5e2f7ca0ed217 (patch)
tree95019e586b83fa89b0fee23438ebb53f54f2d38a /tools/lib/h5diff_attr.c
parent448217e7e3f15ed6aee5595a6f8bbe7db0abcb56 (diff)
downloadhdf5-e0bbff9d46eabbbc3a6d63f5b2f5e2f7ca0ed217.zip
hdf5-e0bbff9d46eabbbc3a6d63f5b2f5e2f7ca0ed217.tar.gz
hdf5-e0bbff9d46eabbbc3a6d63f5b2f5e2f7ca0ed217.tar.bz2
Fix VS2012 declaration error
Diffstat (limited to 'tools/lib/h5diff_attr.c')
-rw-r--r--tools/lib/h5diff_attr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/lib/h5diff_attr.c b/tools/lib/h5diff_attr.c
index f381393..64038f3 100644
--- a/tools/lib/h5diff_attr.c
+++ b/tools/lib/h5diff_attr.c
@@ -345,12 +345,12 @@ hsize_t diff_attr(hid_t loc1_id,
hsize_t nfound_total = 0;
int j;
- /* Initialize error status */
- options->err_stat = 1;
-
table_attrs_t *match_list_attrs = NULL;
h5difftrace("diff_attr start\n");
+ /* Initialize error status */
+ options->err_stat = 1;
+
if(build_match_list_attrs(loc1_id, loc2_id, &match_list_attrs, options) < 0)
HGOTO_ERROR(FAIL, H5E_tools_min_id_g, "build_match_list_attrs failed");