summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2019-09-30 20:13:14 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2019-09-30 20:13:14 (GMT)
commit81410a3bbe50815669bd5225d5e7d26aeafe459f (patch)
treeda78f60c390e8d87bf89166a1ea0572d30409c80 /tools
parent6637250d76004c8cc19f85ff1c918408278fbb8f (diff)
downloadhdf5-81410a3bbe50815669bd5225d5e7d26aeafe459f.zip
hdf5-81410a3bbe50815669bd5225d5e7d26aeafe459f.tar.gz
hdf5-81410a3bbe50815669bd5225d5e7d26aeafe459f.tar.bz2
Fix for statement declare variable
Diffstat (limited to 'tools')
-rw-r--r--tools/libtest/h5tools_test_utils.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/libtest/h5tools_test_utils.c b/tools/libtest/h5tools_test_utils.c
index 7908519..120f803 100644
--- a/tools/libtest/h5tools_test_utils.c
+++ b/tools/libtest/h5tools_test_utils.c
@@ -1134,6 +1134,7 @@ test_set_configured_fapl(void)
#endif /* H5_HAVE_LIBHDFS */
}; /* testcases `cases` array */
+ unsigned int i;
#ifdef H5_HAVE_ROS3_VFD
n_cases += 5;
@@ -1145,7 +1146,7 @@ test_set_configured_fapl(void)
TESTING("programmatic fapl set");
- for (unsigned i = 0; i < n_cases; i++) {
+ for (i = 0; i < n_cases; i++) {
int result;
testcase C = cases[i];