diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2019-09-30 20:13:14 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2019-09-30 20:13:14 (GMT) |
commit | 81410a3bbe50815669bd5225d5e7d26aeafe459f (patch) | |
tree | da78f60c390e8d87bf89166a1ea0572d30409c80 /src/H5FDros3.c | |
parent | 6637250d76004c8cc19f85ff1c918408278fbb8f (diff) | |
download | hdf5-81410a3bbe50815669bd5225d5e7d26aeafe459f.zip hdf5-81410a3bbe50815669bd5225d5e7d26aeafe459f.tar.gz hdf5-81410a3bbe50815669bd5225d5e7d26aeafe459f.tar.bz2 |
Fix for statement declare variable
Diffstat (limited to 'src/H5FDros3.c')
-rw-r--r-- | src/H5FDros3.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/H5FDros3.c b/src/H5FDros3.c index 5456a1b..f167ca0 100644 --- a/src/H5FDros3.c +++ b/src/H5FDros3.c @@ -313,6 +313,7 @@ hid_t H5FD_ros3_init(void) { hid_t ret_value = H5I_INVALID_HID; + unsigned int bin_i; FUNC_ENTER_NOAPI(FAIL) @@ -326,7 +327,7 @@ H5FD_ros3_init(void) #if ROS3_STATS /* pre-compute statsbin boundaries */ - for (unsigned bin_i = 0; bin_i < ROS3_STATS_BIN_COUNT; bin_i++) { + for (bin_i = 0; bin_i < ROS3_STATS_BIN_COUNT; bin_i++) { unsigned long long value = 0; ROS3_STATS_POW(bin_i, &value) ros3_stats_boundaries[bin_i] = value; |